missing (but critical) parenthesis
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sun, 6 May 1990 10:28:36 +0000 (02:28 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sun, 6 May 1990 10:28:36 +0000 (02:28 -0800)
SCCS-vsn: usr.sbin/quotaon/quotaon.c 5.9

usr/src/usr.sbin/quotaon/quotaon.c

index 3fdff3e..8cc0d24 100644 (file)
@@ -25,7 +25,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)quotaon.c  5.8 (Berkeley) %G%";
+static char sccsid[] = "@(#)quotaon.c  5.9 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -99,7 +99,7 @@ main(argc, argv)
                                errs += quotaonoff(fs, offmode, USRQUOTA);
                        continue;
                }
                                errs += quotaonoff(fs, offmode, USRQUOTA);
                        continue;
                }
-               if ((argnum = oneof(fs->fs_file, argv, argc) >= 0) ||
+               if ((argnum = oneof(fs->fs_file, argv, argc)) >= 0 ||
                    (argnum = oneof(fs->fs_spec, argv, argc)) >= 0) {
                        done |= 1 << argnum;
                        if (gflag && hasquota(fs->fs_mntops, GRPQUOTA))
                    (argnum = oneof(fs->fs_spec, argv, argc)) >= 0) {
                        done |= 1 << argnum;
                        if (gflag && hasquota(fs->fs_mntops, GRPQUOTA))