diff options
author | Matt Kraai | 2002-03-08 16:25:33 +0000 |
---|---|---|
committer | Matt Kraai | 2002-03-08 16:25:33 +0000 |
commit | a1bbde71bfe73ddd272bd2ce4c82074affdc7655 (patch) | |
tree | b7ae1ae156be08875e265dea81a4a4dc2634852e /coreutils/ls.c | |
parent | 3bd31ebc9a6643d61f11b17811e885596aca61e0 (diff) | |
download | busybox-a1bbde71bfe73ddd272bd2ce4c82074affdc7655.zip busybox-a1bbde71bfe73ddd272bd2ce4c82074affdc7655.tar.gz |
list_single: Declare scratch iff CONFIG_FEATURE_LS_USERNAME is defined.
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r-- | coreutils/ls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index e9c2e86..f2512fb 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c @@ -576,7 +576,9 @@ static struct dnode **list_dir(char *path) static int list_single(struct dnode *dn) { int i; +#ifdef CONFIG_FEATURE_LS_USERNAME char scratch[BUFSIZ + 1]; +#endif #ifdef CONFIG_FEATURE_LS_TIMESTAMPS char *filetime; time_t ttime, age; |