summaryrefslogtreecommitdiff
path: root/ls.c
diff options
context:
space:
mode:
authorErik Andersen2000-01-27 02:40:21 +0000
committerErik Andersen2000-01-27 02:40:21 +0000
commitccc7488615f0079032d8b017f57e6bf6a994cf84 (patch)
tree4f4f709ad3b66e3f94fabd3567eb85df9e935393 /ls.c
parentde7965ca7ee65f21042739f1be5a337da4138343 (diff)
downloadbusybox-ccc7488615f0079032d8b017f57e6bf6a994cf84.zip
busybox-ccc7488615f0079032d8b017f57e6bf6a994cf84.tar.gz
Fixed ls formatting for 8 char user names.
-Erik
Diffstat (limited to 'ls.c')
-rw-r--r--ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ls.c b/ls.c
index 862da43..78193e7 100644
--- a/ls.c
+++ b/ls.c
@@ -198,7 +198,7 @@ static void list_single(const char *name, struct stat *info, const char *fullnam
if (*scratch) {
fputs(scratch, stdout);
if ( strlen( scratch) <= 8 )
- wr(" ", 8-strlen( scratch));
+ wr(" ", 9-strlen( scratch));
}
else {
writenum((long) info->st_uid,(short)8);