summaryrefslogtreecommitdiffstats
path: root/commands/ls.c
diff options
context:
space:
mode:
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 6b88688426..23638d1378 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 %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)