diff options
author | mpp <mpp@FreeBSD.org> | 2007-09-19 01:10:31 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 2007-09-19 01:10:31 +0000 |
commit | d37f7512f90407fe08f3da63555d04dd178e30a5 (patch) | |
tree | 30ac19cb2e4605d7081213af9fe81894ff9ba879 /usr.sbin | |
parent | c4bc8a1abf047c4a81320a55542f263d2dbc79d2 (diff) | |
download | FreeBSD-src-d37f7512f90407fe08f3da63555d04dd178e30a5.zip FreeBSD-src-d37f7512f90407fe08f3da63555d04dd178e30a5.tar.gz |
Change the header to indicate which type of id is being displayed,
"User" or "Group", instead of identifying them all as "User".
Approved by: re (bmah)
Diffstat (limited to 'usr.sbin')
-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 8399377..4f88bff 100644 --- a/usr.sbin/repquota/repquota.c +++ b/usr.sbin/repquota/repquota.c @@ -231,8 +231,8 @@ repquota(fs, type, qfpathname) fclose(qf); printf("%*s Block limits File limits\n", max(UT_NAMESIZE,10), " "); - printf("User%*s used soft hard grace used soft hard grace\n", - max(UT_NAMESIZE,10), " "); + printf("%s%*s used soft hard grace used soft hard grace\n", + type == USRQUOTA ? "User " : "Group", max(UT_NAMESIZE,10), " "); for (id = 0; id <= highid[type]; id++) { fup = lookup(id, type); if (fup == 0) |