summaryrefslogtreecommitdiff
path: root/coreutils/ls.c
diff options
context:
space:
mode:
authorDenis Vlasenko2008-06-23 22:31:52 +0000
committerDenis Vlasenko2008-06-23 22:31:52 +0000
commitcc3f20b9bdf9a46c41877dab4900eb2997b72019 (patch)
tree4447fc490a0f65921d5c324283da20c837121535 /coreutils/ls.c
parent211b59be431350b2cc6685f5365ad5e6b597dc18 (diff)
downloadbusybox-cc3f20b9bdf9a46c41877dab4900eb2997b72019.zip
busybox-cc3f20b9bdf9a46c41877dab4900eb2997b72019.tar.gz
fix breakage found by randomconfig
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r--coreutils/ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c
index 56be12a..83ad8cd 100644
--- a/coreutils/ls.c
+++ b/coreutils/ls.c
@@ -171,8 +171,8 @@ enum {
/* memset: we have to zero it out because of NOEXEC */
#define INIT_G() { \
memset(&G, 0, sizeof(G)); \
- tabstops = COLUMN_GAP; \
- terminal_width = TERMINAL_WIDTH; \
+ USE_FEATURE_AUTOWIDTH(tabstops = COLUMN_GAP;) \
+ USE_FEATURE_AUTOWIDTH(terminal_width = TERMINAL_WIDTH;) \
USE_FEATURE_LS_TIMESTAMPS(time(&current_time_t);) \
}