diff options
Diffstat (limited to 'coreutils/ls.c')
-rw-r--r-- | coreutils/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 14c8beaff..c48498858 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -1105,7 +1105,7 @@ int ls_main(int argc UNUSED_PARAM, char **argv) | |||
1105 | 1105 | ||
1106 | #if ENABLE_FEATURE_AUTOWIDTH | 1106 | #if ENABLE_FEATURE_AUTOWIDTH |
1107 | /* obtain the terminal width */ | 1107 | /* obtain the terminal width */ |
1108 | get_terminal_width_height(STDIN_FILENO, &G_terminal_width, NULL); | 1108 | G_terminal_width = get_terminal_width(STDIN_FILENO); |
1109 | /* go one less... */ | 1109 | /* go one less... */ |
1110 | G_terminal_width--; | 1110 | G_terminal_width--; |
1111 | #endif | 1111 | #endif |