X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmountlist.c;h=138fd227267b1aba48c432da3c5862a11ecca0c3;hb=cc3d34bc91283615d1472500d8acc5679ae308e2;hp=76607245297f8b6b3be00e259dc51b05b9d4ddc5;hpb=ea12546cdee0548bded92ecffcf257aa5b6a125f;p=gnulib.git diff --git a/lib/mountlist.c b/lib/mountlist.c index 766072452..138fd2272 100644 --- a/lib/mountlist.c +++ b/lib/mountlist.c @@ -1,5 +1,5 @@ /* mountlist.c -- return a list of mounted filesystems - Copyright (C) 1991, 1992, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1991, 1992, 1997, 1998, 1999 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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);