9
0
Fork 0

use unsigned for filesize in ls

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2007-11-12 12:01:18 +01:00
parent eea76e4cf1
commit aae8d892db
1 changed files with 1 additions and 1 deletions

View File

@ -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)