aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coreutils/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index b69b80460..cc809b797 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -526,10 +526,10 @@ static NOINLINE unsigned display_single(const struct dnode *dn)
526#if ENABLE_FEATURE_LS_USERNAME 526#if ENABLE_FEATURE_LS_USERNAME
527 else { 527 else {
528 if (opt & OPT_g) { 528 if (opt & OPT_g) {
529 column += printf("%-8.8s ", 529 column += printf("%-8s ",
530 get_cached_groupname(dn->dn_gid)); 530 get_cached_groupname(dn->dn_gid));
531 } else { 531 } else {
532 column += printf("%-8.8s %-8.8s ", 532 column += printf("%-8s %-8s ",
533 get_cached_username(dn->dn_uid), 533 get_cached_username(dn->dn_uid),
534 get_cached_groupname(dn->dn_gid)); 534 get_cached_groupname(dn->dn_gid));
535 } 535 }