--- libxcmd/paths.c.orig Mon Aug 1 10:20:50 2005 +++ libxcmd/paths.c Wed Aug 10 21:50:35 2005 @@ -42,8 +42,6 @@ #include #include -#define HAVE_MNTENT_H 1 /* TODO - configure me (+HAVE_GETMNTINFO) */ - int fs_count; struct fs_path *fs_table; struct fs_path *fs_path; @@ -255,8 +253,8 @@ break; } /* TODO: external log and realtime device? */ - if ((error = fs_table_insert(dir, 0, FS_MOUNT_POINT, - fsname, fslog, fsrt); + if (error = fs_table_insert(dir, 0, FS_MOUNT_POINT, + fsname, fslog, fsrt)) break; } if (!error && path && !found)