diff options
author | Benoît Dejean <bdejean@src.gnome.org> | 2009-03-31 22:31:48 +0000 |
---|---|---|
committer | Benoît Dejean <bdejean@src.gnome.org> | 2009-03-31 22:31:48 +0000 |
commit | 3d9f260bd497d7d71a380517bd9ef620159a4fb2 (patch) | |
tree | 200a9c3ce4e9894bd400a021435d2823388bc2e7 /sysdeps/linux | |
parent | 2ed212086988da1c9f870698f325a0fa03235d53 (diff) | |
download | libgtop-3d9f260bd497d7d71a380517bd9ef620159a4fb2.tar.gz |
Always ignore "none" FS type.
See #577537.
svn path=/trunk/; revision=2816
Diffstat (limited to 'sysdeps/linux')
-rw-r--r-- | sysdeps/linux/mountlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/linux/mountlist.c b/sysdeps/linux/mountlist.c index cc6b797c..95703bcd 100644 --- a/sysdeps/linux/mountlist.c +++ b/sysdeps/linux/mountlist.c @@ -92,6 +92,8 @@ ignore_fs(const char *fstype, IgnoreList** ig) *ig = ignore_list_new(); + ignore_list_add(*ig, "none"); + if ((fs = fopen("/proc/filesystems", "r")) != NULL) { while (fgets(line, sizeof line, fs)) { if (!strncmp(line, "nodev", 5)) { |