From f1838373aaaaa24b323ffc04a6aa085d4dc65db7 Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Fri, 11 Jun 1999 10:31:24 +0000 Subject: [PATCH] Larger, space separated fields in the output of repquota. PR: 8730 Submitted by: Andre Albsmeier --- usr.sbin/repquota/repquota.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.sbin/repquota/repquota.c b/usr.sbin/repquota/repquota.c index 617a3a2d42d..d898ed69c9d 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,