mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 18:32:49 -04:00
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>
This commit is contained in:
parent
1ab562901c
commit
886cc6daf6
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue