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 a87f0ec2d..22685bcd9 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -683,9 +683,9 @@ static int list_single(struct dnode *dn) | |||
683 | break; | 683 | break; |
684 | case LIST_ID_NAME: | 684 | case LIST_ID_NAME: |
685 | #ifdef CONFIG_FEATURE_LS_USERNAME | 685 | #ifdef CONFIG_FEATURE_LS_USERNAME |
686 | my_getpwuid(scratch, dn->dstat.st_uid); | 686 | my_getpwuid(scratch, dn->dstat.st_uid, sizeof(scratch)); |
687 | printf("%-8.8s ", scratch); | 687 | printf("%-8.8s ", scratch); |
688 | my_getgrgid(scratch, dn->dstat.st_gid); | 688 | my_getgrgid(scratch, dn->dstat.st_gid, sizeof(scratch)); |
689 | printf("%-8.8s", scratch); | 689 | printf("%-8.8s", scratch); |
690 | column += 17; | 690 | column += 17; |
691 | break; | 691 | break; |