diff options
author | mckusick <mckusick@FreeBSD.org> | 2010-03-16 06:12:30 +0000 |
---|---|---|
committer | mckusick <mckusick@FreeBSD.org> | 2010-03-16 06:12:30 +0000 |
commit | f63b97928b6dff04ed1652eee2d75a7577479818 (patch) | |
tree | 8218da33f517c5e82ea83e7c71daba26e9dd1ed0 /usr.sbin/repquota/repquota.c | |
parent | 834fb25a9ed2240101506d137b5be7d71c75f306 (diff) | |
download | FreeBSD-src-f63b97928b6dff04ed1652eee2d75a7577479818.zip FreeBSD-src-f63b97928b6dff04ed1652eee2d75a7577479818.tar.gz |
Debugging nits found while testing the new 64-bit quota code.
Diffstat (limited to 'usr.sbin/repquota/repquota.c')
-rw-r--r-- | usr.sbin/repquota/repquota.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c index f90269f..8fdea20 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) |