diff options
author | dd <dd@FreeBSD.org> | 2001-06-19 00:47:24 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-06-19 00:47:24 +0000 |
commit | df1256faf7b97dffa21664d4afb99b6ddd5bcf74 (patch) | |
tree | 769d78d8cdb0883a9ef5ba6ee1612b43b6f14cce /usr.sbin/repquota/repquota.c | |
parent | a284c32828b22b44c79053fd882a4093a9d06a11 (diff) | |
download | FreeBSD-src-df1256faf7b97dffa21664d4afb99b6ddd5bcf74.zip FreeBSD-src-df1256faf7b97dffa21664d4afb99b6ddd5bcf74.tar.gz |
Print "-" instead of "" in the grace field if there is no grace
period; this keeps the number of whitespace-separated fields constant.
PR: 15739, 23908
Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
Diffstat (limited to 'usr.sbin/repquota/repquota.c')
-rw-r--r-- | usr.sbin/repquota/repquota.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c index 3c9aca3..b04bf14 100644 --- a/usr.sbin/repquota/repquota.c +++ b/usr.sbin/repquota/repquota.c @@ -255,7 +255,7 @@ repquota(fs, type, qfpathname) fup->fu_dqblk.dqb_bsoftlimit && fup->fu_dqblk.dqb_curblocks >= fup->fu_dqblk.dqb_bsoftlimit ? - timeprt(fup->fu_dqblk.dqb_btime) : ""); + timeprt(fup->fu_dqblk.dqb_btime) : "-"); printf(" %7lu %7lu %7lu %6s\n", fup->fu_dqblk.dqb_curinodes, fup->fu_dqblk.dqb_isoftlimit, @@ -263,7 +263,7 @@ repquota(fs, type, qfpathname) fup->fu_dqblk.dqb_isoftlimit && fup->fu_dqblk.dqb_curinodes >= fup->fu_dqblk.dqb_isoftlimit ? - timeprt(fup->fu_dqblk.dqb_itime) : ""); + timeprt(fup->fu_dqblk.dqb_itime) : "-"); fup->fu_dqblk = zerodqblk; } return (0); |