diff options
author | jkar8572 <jkar8572> | 2002-05-20 12:16:31 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2002-05-20 12:16:31 +0000 |
commit | e20d4e982358a6c66c77a4ddd8bd86139ec2f3cb (patch) | |
tree | 623a5eea0e97247d091414e6656952e9464e08f6 /quota.c | |
parent | 1883e1ee6514b304d0bb6fa5705644230b145a4b (diff) |
Fixed printing of sign 'over soft quota' in quota(1)
Fixed detection of XFS.
Diffstat (limited to 'quota.c')
-rw-r--r-- | quota.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -34,7 +34,7 @@ #ident "$Copyright: (c) 1980, 1990 Regents of the University of California. $" #ident "$Copyright: All rights reserved. $" -#ident "$Id: quota.c,v 1.10 2002/04/08 12:06:44 jkar8572 Exp $" +#ident "$Id: quota.c,v 1.11 2002/05/20 12:16:31 jkar8572 Exp $" /* * Disk quota reporting program. @@ -173,7 +173,7 @@ int showquotas(int type, qid_t id) iover = 1; } else if (q->dq_dqb.dqb_isoftlimit - && q->dq_dqb.dqb_curinodes >= q->dq_dqb.dqb_isoftlimit) { + && q->dq_dqb.dqb_curinodes > q->dq_dqb.dqb_isoftlimit) { if (q->dq_dqb.dqb_itime > now) { msgi = _("In file grace period on"); iover = 2; @@ -189,7 +189,7 @@ int showquotas(int type, qid_t id) bover = 1; } else if (q->dq_dqb.dqb_bsoftlimit - && toqb(q->dq_dqb.dqb_curspace) >= q->dq_dqb.dqb_bsoftlimit) { + && toqb(q->dq_dqb.dqb_curspace) > q->dq_dqb.dqb_bsoftlimit) { if (q->dq_dqb.dqb_btime > now) { msgb = _("In block grace period on"); bover = 2; |