libgtop r2816 - trunk/sysdeps/linux



Author: bdejean
Date: Tue Mar 31 22:31:48 2009
New Revision: 2816
URL: http://svn.gnome.org/viewvc/libgtop?rev=2816&view=rev

Log:
Always ignore "none" FS type.
See #577537.


Modified:
   trunk/sysdeps/linux/mountlist.c

Modified: trunk/sysdeps/linux/mountlist.c
==============================================================================
--- trunk/sysdeps/linux/mountlist.c	(original)
+++ trunk/sysdeps/linux/mountlist.c	Tue Mar 31 22:31:48 2009
@@ -92,6 +92,8 @@
 
     *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)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]