summaryrefslogtreecommitdiffstats
path: root/commands/ls.c
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2007-11-12 14:36:52 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2007-11-12 14:36:52 +0100
commit9d27950d06d6d4a1bac50389589f8b72de648c90 (patch)
treeb5bffa70a026756d7f3fe7dd711c8e5656e90ea5 /commands/ls.c
parentbd8081b620d7d362c79a532288cc2c1a10c39e15 (diff)
downloadbarebox-9d27950d06d6d4a1bac50389589f8b72de648c90.tar.gz
use 10 digits for filesize in ls
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'commands/ls.c')
-rw-r--r--commands/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/ls.c b/commands/ls.c
index 23638d1..276b5e2 100644
--- a/commands/ls.c
+++ b/commands/ls.c
@@ -34,7 +34,7 @@ static void ls_one(const char *path, struct stat *s)
unsigned long namelen = strlen(path);
mkmodestr(s->st_mode, modestr);
- printf("%s %8u %*.*s\n", modestr, s->st_size, namelen, namelen, path);
+ printf("%s %10u %*.*s\n", modestr, s->st_size, namelen, namelen, path);
}
int ls(const char *path, ulong flags)