diff options
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r-- | coreutils/ls.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 94c73b3..655dd7f 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -600,13 +600,11 @@ int list_single(struct dnode *dn) break; case LIST_ID_NAME: #ifdef BB_FEATURE_LS_USERNAME - memset(scratch, 0, sizeof(scratch)); my_getpwuid(scratch, dn->dstat.st_uid); if (*scratch) fprintf(stdout, "%-8.8s ", scratch); else fprintf(stdout, "%-8d ", dn->dstat.st_uid); - memset(scratch, 0, sizeof(scratch)); my_getgrgid(scratch, dn->dstat.st_gid); if (*scratch) fprintf(stdout, "%-8.8s", scratch); |