summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-31 22:43:50 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-31 22:43:50 +0000
commitbb9579ffc3fd9d188bf6aaf592e78305c12c2944 (patch)
tree46648c7efd9338afbc617678b109e61b5749b35f
parentfa1c5aac51c5e4f880f72ffc66d409d61706ad8a (diff)
Make formatting match GNU ls (we were including a spare ' ')
-Erik
-rw-r--r--coreutils/ls.c2
-rw-r--r--ls.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 794a1d028..8d0282dfe 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -637,7 +637,7 @@ static int list_single(struct dnode *dn)
my_getpwuid(scratch, dn->dstat.st_uid);
printf("%-8.8s ", scratch);
my_getgrgid(scratch, dn->dstat.st_gid);
- printf("%-8.8s ", scratch);
+ printf("%-8.8s", scratch);
column += 17;
break;
#endif
diff --git a/ls.c b/ls.c
index 794a1d028..8d0282dfe 100644
--- a/ls.c
+++ b/ls.c
@@ -637,7 +637,7 @@ static int list_single(struct dnode *dn)
my_getpwuid(scratch, dn->dstat.st_uid);
printf("%-8.8s ", scratch);
my_getgrgid(scratch, dn->dstat.st_gid);
- printf("%-8.8s ", scratch);
+ printf("%-8.8s", scratch);
column += 17;
break;
#endif