mount flags change from M_ to MNT_
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sat, 5 May 1990 14:15:30 +0000 (06:15 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Sat, 5 May 1990 14:15:30 +0000 (06:15 -0800)
SCCS-vsn: usr.sbin/quotaon/quotaon.c 5.8

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

index 485281e..3fdff3e 100644 (file)
@@ -25,7 +25,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)quotaon.c  5.7 (Berkeley) %G%";
+static char sccsid[] = "@(#)quotaon.c  5.8 (Berkeley) %G%";
 #endif /* not lint */
 
 /*
 #endif /* not lint */
 
 /*
@@ -210,7 +210,7 @@ readonly(fs)
                printf("%s: not mounted\n", fs->fs_file);
                return (1);
        }
                printf("%s: not mounted\n", fs->fs_file);
                return (1);
        }
-       if (fsbuf.f_flags & M_RDONLY) {
+       if (fsbuf.f_flags & MNT_RDONLY) {
                printf("%s: mounted read-only\n", fs->fs_file);
                return (1);
        }
                printf("%s: mounted read-only\n", fs->fs_file);
                return (1);
        }