From 891051c8ab9984f155caa6bac2d170b0bb7d2a06 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sun, 5 Dec 2021 23:03:17 +0100 Subject: Remove duplicated fstype --- src/freebsd/btop_collect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freebsd/btop_collect.cpp b/src/freebsd/btop_collect.cpp index cb00e8d..29e3a27 100644 --- a/src/freebsd/btop_collect.cpp +++ b/src/freebsd/btop_collect.cpp @@ -658,7 +658,7 @@ namespace Mem { for (int i = 0; i < count; i++) { auto fstype = string(stfs[i].f_fstypename); if (fstype == "autofs" || fstype == "devfs" || fstype == "linprocfs" || fstype == "procfs" || fstype == "tmpfs" || fstype == "linsysfs" || - fstype == "devfs" || fstype == "fdesckfs") { + fstype == "fdesckfs") { // in memory filesystems -> not useful to show continue; } @@ -1330,4 +1330,4 @@ namespace Tools { } return 0.0; } -} // namespace Tools \ No newline at end of file +} // namespace Tools -- cgit v1.2.3