summaryrefslogtreecommitdiffstats
path: root/usr.bin/find
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-01-20 09:27:03 +0000
committerdes <des@FreeBSD.org>2004-01-20 09:27:03 +0000
commitd3a67d480e5324709fb8294beac1b32b009d157b (patch)
tree9c7f1ec335645ac004cdd63a13790d992ff1d5c0 /usr.bin/find
parentb1bd9b612f7cf6e8af220d15c01a427f5e9f3401 (diff)
downloadFreeBSD-src-d3a67d480e5324709fb8294beac1b32b009d157b.zip
FreeBSD-src-d3a67d480e5324709fb8294beac1b32b009d157b.tar.gz
Use a larger field for the size in blocks; the current width (4 digits)
is only good for 5 MB.
Diffstat (limited to 'usr.bin/find')
-rw-r--r--usr.bin/find/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/find/ls.c b/usr.bin/find/ls.c
index 4fb450b..88e4593 100644
--- a/usr.bin/find/ls.c
+++ b/usr.bin/find/ls.c
@@ -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,
OpenPOWER on IntegriCloud