diff options
-rw-r--r-- | sbin/quotacheck/preen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/quotacheck/preen.c b/sbin/quotacheck/preen.c index 1c285cc..fd843e2 100644 --- a/sbin/quotacheck/preen.c +++ b/sbin/quotacheck/preen.c @@ -105,7 +105,7 @@ checkfstab(int uflag, int gflag) warnx("Can't open checklist file: %s\n", _PATH_FSTAB); return (8); } - while ((fs = getfsent()) != 0) { + while ((fs = getfsent()) != NULL) { if (fs->fs_passno > passno && fs->fs_passno < nextpass) nextpass = fs->fs_passno; |