diff options
-rw-r--r-- | src/osx/btop_collect.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osx/btop_collect.cpp b/src/osx/btop_collect.cpp index 74bf85e..23aa192 100644 --- a/src/osx/btop_collect.cpp +++ b/src/osx/btop_collect.cpp @@ -271,9 +271,10 @@ namespace Mem { } if (show_disks) { - auto& disks_filter = Config::getS("disks_filter"); + double uptime = system_uptime(); + auto &disks_filter = Config::getS("disks_filter"); bool filter_exclude = false; - auto& only_physical = Config::getB("only_physical"); + auto &only_physical = Config::getB("only_physical"); auto &disks = mem.disks; vector<string> filter; if (not disks_filter.empty()) { |