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)
This commit is contained in:
Mike Pritchard 2007-09-19 01:10:31 +00:00
parent 65875b1f58
commit ea11023020

View File

@ -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)