X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fmountlist.c;h=ac25ee1892834ff5387cf5b0cd6e0c76ac79931d;hb=b994e6a21b2eb77c87724f26f773923ab61c487d;hp=76607245297f8b6b3be00e259dc51b05b9d4ddc5;hpb=ea12546cdee0548bded92ecffcf257aa5b6a125f;p=gnulib.git diff --git a/lib/mountlist.c b/lib/mountlist.c index 766072452..ac25ee189 100644 --- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -393,8 +393,8 @@ read_filesystem_list (int need_fs_type) struct fs_data fsd; while (errno = 0, - 0 <= (val = getmnt (&offset, &fsd, sizeof (fsd), NOSTAT_MANY, - (char *) 0))) + 0 < (val = getmnt (&offset, &fsd, sizeof (fsd), NOSTAT_MANY, + (char *) 0))) { me = (struct mount_entry *) xmalloc (sizeof (struct mount_entry)); me->me_devname = xstrdup (fsd.fd_req.devname);