diff options
-rw-r--r-- | lib/mountlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |