diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-10-18 19:09:57 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-06-30 16:53:24 +0200 |
commit | 849ce2df7ab7ea1dabbdf04f1944f378075314cf (patch) | |
tree | 6965db41870e177644914e375f40e0a72a758ac5 /commands/ls.c | |
parent | 7b65cb7567280b391a752646c8f37f4385b2f29e (diff) | |
download | barebox-849ce2df7ab7ea1dabbdf04f1944f378075314cf.tar.gz barebox-849ce2df7ab7ea1dabbdf04f1944f378075314cf.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/ls.c b/commands/ls.c index ad609f3133..fbcbadcd08 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) |