diff options
Diffstat (limited to 'coreutils/stty.c')
-rw-r--r-- | coreutils/stty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/stty.c b/coreutils/stty.c index 378a848e7..b63b0b91a 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c | |||
@@ -1403,7 +1403,7 @@ int stty_main(int argc UNUSED_PARAM, char **argv) | |||
1403 | perror_on_device_and_die("%s"); | 1403 | perror_on_device_and_die("%s"); |
1404 | 1404 | ||
1405 | if (stty_state & (STTY_verbose_output | STTY_recoverable_output | STTY_noargs)) { | 1405 | if (stty_state & (STTY_verbose_output | STTY_recoverable_output | STTY_noargs)) { |
1406 | get_terminal_width_height(STDOUT_FILENO, &G.max_col, NULL); | 1406 | G.max_col = get_terminal_width(STDOUT_FILENO); |
1407 | output_func(&mode, display_all); | 1407 | output_func(&mode, display_all); |
1408 | return EXIT_SUCCESS; | 1408 | return EXIT_SUCCESS; |
1409 | } | 1409 | } |