Module Name: src Committed By: snj Date: Mon Feb 22 04:48:14 UTC 2010
Modified Files: src/usr.sbin/repquota [netbsd-5]: repquota.c Log Message: Pull up following revision(s) (requested by bouyer in ticket #1309): usr.sbin/repquota/repquota.c: revision 1.25 Make block fields one char wider; allows to sanely display quotas up to 99.9GB while still fitting 80 columns. Something else needs to be found for the long term ... To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.23.4.1 src/usr.sbin/repquota/repquota.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/repquota/repquota.c diff -u src/usr.sbin/repquota/repquota.c:1.23 src/usr.sbin/repquota/repquota.c:1.23.4.1 --- src/usr.sbin/repquota/repquota.c:1.23 Mon Jul 21 13:36:59 2008 +++ src/usr.sbin/repquota/repquota.c Mon Feb 22 04:48:14 2010 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)repquota.c 8.2 (Berkeley) 11/22/94"; #else -__RCSID("$NetBSD: repquota.c,v 1.23 2008/07/21 13:36:59 lukem Exp $"); +__RCSID("$NetBSD: repquota.c,v 1.23.4.1 2010/02/22 04:48:14 snj Exp $"); #endif #endif /* not lint */ @@ -216,7 +216,7 @@ fclose(qf); printf(" Block limits File limits\n"); printf(type == USRQUOTA ? "User " : "Group"); - printf(" used soft hard grace used soft hard grace\n"); + printf(" used soft hard grace used soft hard grace\n"); for (id = 0; id <= highid[type]; id++) { fup = lookup(id, type); if (fup == 0) @@ -228,7 +228,7 @@ printf("%s ", fup->fu_name); else printf("%-10s", fup->fu_name); - printf("%c%c%8d%8d%8d%7s", + printf("%c%c%9d%9d%9d%7s", fup->fu_dqblk.dqb_bsoftlimit && fup->fu_dqblk.dqb_curblocks >= fup->fu_dqblk.dqb_bsoftlimit ? '+' : '-',