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