summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-12-05 23:03:17 +0100
committerGitHub <noreply@github.com>2021-12-05 23:03:17 +0100
commit891051c8ab9984f155caa6bac2d170b0bb7d2a06 (patch)
tree99d8999d4ff3512a3125f6221953ea45056b217b
parent9fdf6d02044615da8b2c827abc002b2b71dd6db8 (diff)
Remove duplicated fstype
-rw-r--r--src/freebsd/btop_collect.cpp4
1 files 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