summaryrefslogtreecommitdiffstats
path: root/usr.sbin/repquota
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-04-25 11:04:01 +0000
committerderaadt <deraadt@openbsd.org>1996-04-25 11:04:01 +0000
commitdde996756c7d1f5568b1549fab5f8b905e396089 (patch)
treeefe73c4355f3a034568dd2c1fec9fe4707c79f9c /usr.sbin/repquota
parentRegenerated from new syscalls.master (diff)
downloadwireguard-openbsd-dde996756c7d1f5568b1549fab5f8b905e396089.tar.xz
wireguard-openbsd-dde996756c7d1f5568b1549fab5f8b905e396089.zip
permit quotas to work on mfs; problem reported by rdante@pnet.net
Diffstat (limited to 'usr.sbin/repquota')
-rw-r--r--usr.sbin/repquota/repquota.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c
index ec07841efe4..7db5c19acb6 100644
--- a/usr.sbin/repquota/repquota.c
+++ b/usr.sbin/repquota/repquota.c
@@ -42,7 +42,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)repquota.c 8.1 (Berkeley) 6/6/93";*/
-static char *rcsid = "$Id: repquota.c,v 1.5 1996/04/21 23:41:45 deraadt Exp $";
+static char *rcsid = "$Id: repquota.c,v 1.6 1996/04/25 11:04:14 deraadt Exp $";
#endif /* not lint */
/*
@@ -133,7 +133,8 @@ main(argc, argv)
setfsent();
while ((fs = getfsent()) != NULL) {
if (strcmp(fs->fs_vfstype, "ffs") &&
- strcmp(fs->fs_vfstype, "ufs"))
+ strcmp(fs->fs_vfstype, "ufs") &&
+ strcmp(fs->fs_vfstype, "mfs"))
continue;
if (aflag) {
if (gflag && hasquota(fs, GRPQUOTA, &qfnp))