ls: do not truncate username/groupname to 8 chars
function old new delta .rodata 105412 105408 -4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
5dc9ece3b9
commit
a97a2f1280
1 changed files with 2 additions and 2 deletions
|
@ -526,10 +526,10 @@ static NOINLINE unsigned display_single(const struct dnode *dn)
|
|||
#if ENABLE_FEATURE_LS_USERNAME
|
||||
else {
|
||||
if (opt & OPT_g) {
|
||||
column += printf("%-8.8s ",
|
||||
column += printf("%-8s ",
|
||||
get_cached_groupname(dn->dn_gid));
|
||||
} else {
|
||||
column += printf("%-8.8s %-8.8s ",
|
||||
column += printf("%-8s %-8s ",
|
||||
get_cached_username(dn->dn_uid),
|
||||
get_cached_groupname(dn->dn_gid));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue