mirror of
https://github.com/aristocratos/btop.git
synced 2024-05-29 16:50:20 +12:00
Merge pull request #186 from GuillaumeGomez/freebsd
Remove duplicated fstype
This commit is contained in:
commit
682746ff0e
|
@ -658,7 +658,7 @@ namespace Mem {
|
||||||
for (int i = 0; i < count; i++) {
|
for (int i = 0; i < count; i++) {
|
||||||
auto fstype = string(stfs[i].f_fstypename);
|
auto fstype = string(stfs[i].f_fstypename);
|
||||||
if (fstype == "autofs" || fstype == "devfs" || fstype == "linprocfs" || fstype == "procfs" || fstype == "tmpfs" || fstype == "linsysfs" ||
|
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
|
// in memory filesystems -> not useful to show
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
@ -1330,4 +1330,4 @@ namespace Tools {
|
||||||
}
|
}
|
||||||
return 0.0;
|
return 0.0;
|
||||||
}
|
}
|
||||||
} // namespace Tools
|
} // namespace Tools
|
||||||
|
|
Loading…
Reference in a new issue