mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 04:12:51 +00:00
Allocate an additional white space in a username column for
a long (UT_NAMESIZE) login names. PR: bin/75259 Submitted by: Matthew D.Fuller MFC after: 2 weeks
This commit is contained in:
parent
e5782a8c85
commit
f8c5e12739
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139043
@ -228,9 +228,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);
|
||||
@ -239,7 +239,7 @@ repquota(fs, type, qfpathname)
|
||||
if (fup->fu_dqblk.dqb_curinodes == 0 &&
|
||||
fup->fu_dqblk.dqb_curblocks == 0)
|
||||
continue;
|
||||
printf("%-*s", max(UT_NAMESIZE,10), fup->fu_name);
|
||||
printf("%-*s ", max(UT_NAMESIZE,10), fup->fu_name);
|
||||
printf("%c%c %8lu %8lu %8lu %6s",
|
||||
fup->fu_dqblk.dqb_bsoftlimit &&
|
||||
fup->fu_dqblk.dqb_curblocks >=
|
||||
|
Loading…
Reference in New Issue
Block a user