Make formatting match GNU ls (we were including a spare ' ')
authorEric Andersen <andersen@codepoet.org>
Tue, 31 Jul 2001 22:43:50 +0000 (22:43 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 31 Jul 2001 22:43:50 +0000 (22:43 -0000)
 -Erik

coreutils/ls.c
ls.c

index 794a1d02808f8c871e91593e74e390f24ad623b3..8d0282dfec656da0d5b1d6ef8808fcf43d7e229d 100644 (file)
@@ -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 794a1d02808f8c871e91593e74e390f24ad623b3..8d0282dfec656da0d5b1d6ef8808fcf43d7e229d 100644 (file)
--- 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