From 340d55d40c1a045223de7b6f3df01c42b62cd3c4 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 11 Sep 2000 18:47:30 +0000 Subject: 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 --- usr.sbin/repquota/repquota.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') 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); } } -- cgit v1.2.3