mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-21 08:24:10 +01:00
Use a larger field for the size in blocks; the current width (4 digits)
is only good for 5 MB.
This commit is contained in:
parent
93970e2689
commit
e562f8fb28
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124746
@ -67,7 +67,7 @@ printlong(char *name, char *accpath, struct stat *sb)
|
||||
{
|
||||
char modep[15];
|
||||
|
||||
(void)printf("%6lu %4"PRId64" ", (u_long) sb->st_ino, sb->st_blocks);
|
||||
(void)printf("%6lu %8"PRId64" ", (u_long) sb->st_ino, sb->st_blocks);
|
||||
(void)strmode(sb->st_mode, modep);
|
||||
(void)printf("%s %3u %-*s %-*s ", modep, sb->st_nlink, MAXLOGNAME - 1,
|
||||
user_from_uid(sb->st_uid, 0), MAXLOGNAME - 1,
|
||||
|
Loading…
Reference in New Issue
Block a user