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:
Dag-Erling Smørgrav 2004-01-20 09:27:03 +00:00
parent 93970e2689
commit e562f8fb28
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124746

View File

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