diff options
-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 727529255..2929b9622 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -923,10 +923,12 @@ extern int ls_main(int argc, char **argv) | |||
923 | | SORT_NAME | SORT_ORDER_FORWARD | 923 | | SORT_NAME | SORT_ORDER_FORWARD |
924 | #endif | 924 | #endif |
925 | ; | 925 | ; |
926 | #ifdef CONFIG_FEATURE_AUTOWIDTH | ||
926 | /* Obtain the terminal width. */ | 927 | /* Obtain the terminal width. */ |
927 | get_terminal_width_height(0, &terminal_width, NULL); | 928 | get_terminal_width_height(0, &terminal_width, NULL); |
928 | /* Go one less... */ | 929 | /* Go one less... */ |
929 | terminal_width--; | 930 | terminal_width--; |
931 | #endif | ||
930 | nfiles = 0; | 932 | nfiles = 0; |
931 | 933 | ||
932 | #ifdef CONFIG_FEATURE_LS_COLOR | 934 | #ifdef CONFIG_FEATURE_LS_COLOR |