diff options
author | jkoshy <jkoshy@FreeBSD.org> | 1999-06-11 10:31:24 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 1999-06-11 10:31:24 +0000 |
commit | fd0b9bf38b71252225e611e3b6af8d2d55ab2030 (patch) | |
tree | 95043b50949ca33e9630a6cfdab6e84cbf3c9b46 /usr.sbin/repquota | |
parent | 3bb755ec02a13afa062b681129185b3df28ae0a4 (diff) | |
download | FreeBSD-src-fd0b9bf38b71252225e611e3b6af8d2d55ab2030.zip FreeBSD-src-fd0b9bf38b71252225e611e3b6af8d2d55ab2030.tar.gz |
Larger, space separated fields in the output of repquota.
PR: 8730
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Diffstat (limited to 'usr.sbin/repquota')
-rw-r--r-- | usr.sbin/repquota/repquota.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c index 617a3a2..d898ed6 100644 --- a/usr.sbin/repquota/repquota.c +++ b/usr.sbin/repquota/repquota.c @@ -45,7 +45,7 @@ static const char copyright[] = static char sccsid[] = "@(#)repquota.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: repquota.c,v 1.5 1997/10/13 11:05:07 charnier Exp $"; + "$Id: repquota.c,v 1.6 1998/06/14 22:56:31 ache Exp $"; #endif /* not lint */ /* @@ -219,9 +219,9 @@ repquota(fs, type, qfpathname) fup->fu_dqblk = dqbuf; } fclose(qf); - printf("%*s Block limits File limits\n", + printf("%*s Block limits File limits\n", max(UT_NAMESIZE,10), " "); - printf("User%*s used soft hard grace used soft hard grace\n", + printf("User%*s used soft hard grace used soft hard grace\n", max(UT_NAMESIZE,10), " "); for (id = 0; id <= highid[type]; id++) { fup = lookup(id, type); @@ -231,7 +231,7 @@ repquota(fs, type, qfpathname) fup->fu_dqblk.dqb_curblocks == 0) continue; printf("%-*s", max(UT_NAMESIZE,10), fup->fu_name); - printf("%c%c%8lu%8lu%8lu%7s", + printf("%c%c %8lu %8lu %8lu %6s", fup->fu_dqblk.dqb_bsoftlimit && fup->fu_dqblk.dqb_curblocks >= fup->fu_dqblk.dqb_bsoftlimit ? '+' : '-', @@ -245,7 +245,7 @@ repquota(fs, type, qfpathname) fup->fu_dqblk.dqb_curblocks >= fup->fu_dqblk.dqb_bsoftlimit ? timeprt(fup->fu_dqblk.dqb_btime) : ""); - printf(" %6lu%6lu%6lu%7s\n", + printf(" %7lu %7lu %7lu %6s\n", fup->fu_dqblk.dqb_curinodes, fup->fu_dqblk.dqb_isoftlimit, fup->fu_dqblk.dqb_ihardlimit, |