use unsigned for filesize in ls
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
parent
eea76e4cf1
commit
aae8d892db
|
@ -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 %8d %*.*s\n",modestr, s->st_size, namelen, namelen, path);
|
||||
printf("%s %8u %*.*s\n", modestr, s->st_size, namelen, namelen, path);
|
||||
}
|
||||
|
||||
int ls(const char *path, ulong flags)
|
||||
|
|
Loading…
Reference in New Issue