summaryrefslogtreecommitdiff
path: root/usr.sbin/repquota
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-09-11 18:47:30 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-09-11 18:47:30 +0000
commit340d55d40c1a045223de7b6f3df01c42b62cd3c4 (patch)
treea46f3a28220b65915957ed96b5e67989024ba95d /usr.sbin/repquota
parent9343936bd33dadc8accd8c21c1706f01f08066da (diff)
Fix pasto: repquota does not report user quotas when a volume argument is given
and there are no group quotas set. canacar@eee.metu.edu.tr
Diffstat (limited to 'usr.sbin/repquota')
-rw-r--r--usr.sbin/repquota/repquota.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c
index ba0f8eff4b0..723fa605e81 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.10 2000/02/01 03:24:08 deraadt Exp $";
+static char *rcsid = "$Id: repquota.c,v 1.11 2000/09/11 18:47:29 millert Exp $";
#endif /* not lint */
/*
@@ -155,7 +155,7 @@ main(argc, argv)
done |= 1 << argnum;
if (gflag && hasquota(fs, GRPQUOTA, &qfnp))
errs += repquota(fs, GRPQUOTA, qfnp);
- if (uflag && hasquota(fs, GRPQUOTA, &qfnp))
+ if (uflag && hasquota(fs, USRQUOTA, &qfnp))
errs += repquota(fs, USRQUOTA, qfnp);
}
}