summaryrefslogtreecommitdiff
path: root/sbin/quotacheck
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-25 11:04:15 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-04-25 11:04:15 +0000
commitd44dfb5d692e3c38d987ca775af156909295c7b3 (patch)
tree759aa2ffdbb51a608103f4e3321f9d86a53f0818 /sbin/quotacheck
parent9c7eb29f7fb5a32d3efc92b6e8ef8e77c91f6138 (diff)
permit quotas to work on mfs; problem reported by rdante@pnet.net
Diffstat (limited to 'sbin/quotacheck')
-rw-r--r--sbin/quotacheck/quotacheck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/quotacheck/quotacheck.c b/sbin/quotacheck/quotacheck.c
index 3c1e3fca961..08db8485bc9 100644
--- a/sbin/quotacheck/quotacheck.c
+++ b/sbin/quotacheck/quotacheck.c
@@ -223,7 +223,8 @@ needchk(fs)
if (strcmp(fs->fs_type, FSTAB_RW))
return (NULL);
if (strcmp(fs->fs_vfstype, "ffs") &&
- strcmp(fs->fs_vfstype, "ufs"))
+ strcmp(fs->fs_vfstype, "ufs") &&
+ strcmp(fs->fs_vfstype, "mfs"))
return (NULL);
if ((qnp = malloc(sizeof(*qnp))) == NULL)
err(1, "%s", strerror(errno));