summaryrefslogtreecommitdiffstats
path: root/commands/ls.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-10-18 19:09:57 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-06-30 16:53:24 +0200
commit849ce2df7ab7ea1dabbdf04f1944f378075314cf (patch)
tree6965db41870e177644914e375f40e0a72a758ac5 /commands/ls.c
parent7b65cb7567280b391a752646c8f37f4385b2f29e (diff)
downloadbarebox-849ce2df7ab7ea1dabbdf04f1944f378075314cf.tar.gz
make st_size in struct stat 64 bit
Signed-off-by: Sascha Hauer <s.hauer@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 ad609f3..fbcbadc 100644
--- a/commands/ls.c
+++ b/commands/ls.c
@@ -35,7 +35,7 @@ static void ls_one(const char *path, struct stat *s)
unsigned int namelen = strlen(path);
mkmodestr(s->st_mode, modestr);
- printf("%s %10lu %*.*s\n", modestr, s->st_size, namelen, namelen, path);
+ printf("%s %10llu %*.*s\n", modestr, s->st_size, namelen, namelen, path);
}
int ls(const char *path, ulong flags)