Merge pull request #186 from GuillaumeGomez/freebsd

Remove duplicated fstype
This commit is contained in:
Jakob P. Liljenberg 2021-12-18 19:50:13 +01:00 committed by GitHub
commit 682746ff0e
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