Remove duplicated fstype

This commit is contained in:
Guillaume Gomez 2021-12-05 23:03:17 +01:00 committed by GitHub
parent 9fdf6d0204
commit 891051c8ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
} // namespace Tools