aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/repquota
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2010-03-16 06:12:30 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2010-03-16 06:12:30 +0000
commit516ad57b74be8c0b950e246197c1cd5e091995f3 (patch)
tree8218da33f517c5e82ea83e7c71daba26e9dd1ed0 /usr.sbin/repquota
parent1a0fda2b547365c9453523592a445dfe21266d4b (diff)
downloadsrc-516ad57b74be8c0b950e246197c1cd5e091995f3.tar.gz
src-516ad57b74be8c0b950e246197c1cd5e091995f3.zip
Notes
Diffstat (limited to 'usr.sbin/repquota')
-rw-r--r--usr.sbin/repquota/repquota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c
index f90269f173ce..8fdea201554f 100644
--- a/usr.sbin/repquota/repquota.c
+++ b/usr.sbin/repquota/repquota.c
@@ -224,7 +224,7 @@ repquota(struct fstab *fs, int type)
printf("User%*s used soft hard grace used soft hard grace\n",
max(MAXLOGNAME - 1, 10), " ");
maxid = quota_maxid(qf);
- for (id = 0; id < maxid; id++) {
+ for (id = 0; id <= maxid; id++) {
if (quota_read(qf, &dqbuf, id) != 0)
break;
if (dqbuf.dqb_curinodes == 0 && dqbuf.dqb_curblocks == 0)