diff options
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r-- | coreutils/ls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 52c43c731..5d2e96a1e 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -540,10 +540,10 @@ static NOINLINE unsigned display_single(const struct dnode *dn) | |||
540 | #if ENABLE_FEATURE_LS_USERNAME | 540 | #if ENABLE_FEATURE_LS_USERNAME |
541 | else { | 541 | else { |
542 | if (opt & OPT_g) { | 542 | if (opt & OPT_g) { |
543 | column += printf("%-8.8s ", | 543 | column += printf("%-8s ", |
544 | get_cached_groupname(dn->dn_gid)); | 544 | get_cached_groupname(dn->dn_gid)); |
545 | } else { | 545 | } else { |
546 | column += printf("%-8.8s %-8.8s ", | 546 | column += printf("%-8s %-8s ", |
547 | get_cached_username(dn->dn_uid), | 547 | get_cached_username(dn->dn_uid), |
548 | get_cached_groupname(dn->dn_gid)); | 548 | get_cached_groupname(dn->dn_gid)); |
549 | } | 549 | } |