summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2004-12-09 16:00:15 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2004-12-09 16:00:15 +0000
commit3aabc5fb13cbdd14a839c6cdd838e9f0834ee5be (patch)
treea895cdd23268172c50db44d5ba4ac6e98b86a34f
parent12f4129f6df82f186f5e23314effce3316398c19 (diff)
downloadlibgtop-3aabc5fb13cbdd14a839c6cdd838e9f0834ee5be.tar.gz
Ignores unkown file system type.
* mountlist.c: (ignore_mount_entry): Ignores unkown file system type.
-rw-r--r--sysdeps/common/ChangeLog4
-rw-r--r--sysdeps/common/mountlist.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/common/ChangeLog b/sysdeps/common/ChangeLog
index db21dfdb..48c01e96 100644
--- a/sysdeps/common/ChangeLog
+++ b/sysdeps/common/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-09 Benoît Dejean <tazforever@dlfp.org>
+
+ * mountlist.c: (ignore_mount_entry): Ignores "unkown" file system type.
+
2004-09-24 Benoît Dejean <tazforever@dlfp.org>
* fsusage.c: (glibtop_get_fsusage_s): Fixed .block_size on Solaris.
diff --git a/sysdeps/common/mountlist.c b/sysdeps/common/mountlist.c
index 0dc3dc73..30ae0b6b 100644
--- a/sysdeps/common/mountlist.c
+++ b/sysdeps/common/mountlist.c
@@ -547,7 +547,8 @@ static gboolean ignore_mount_entry(const struct mount_entry *me)
"binfmt_misc",
"supermount",
"mntfs",
- "openpromfs"
+ "openpromfs",
+ "unknown"
};
const char (*i)[12] = &ignored[0];