From f63b97928b6dff04ed1652eee2d75a7577479818 Mon Sep 17 00:00:00 2001 From: mckusick Date: Tue, 16 Mar 2010 06:12:30 +0000 Subject: Debugging nits found while testing the new 64-bit quota code. --- usr.sbin/repquota/repquota.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin') 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) -- cgit v1.1