diff options
-rw-r--r-- | src/parse_args.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse_args.c b/src/parse_args.c index 303004b46..1214587b3 100644 --- a/src/parse_args.c +++ b/src/parse_args.c @@ -796,7 +796,7 @@ help(void) int rows, cols; debug_decl(help, SUDO_DEBUG_ARGS); - sudo_get_ttysize(STDERR_FILENO, &rows, &cols); + sudo_get_ttysize(STDOUT_FILENO, &rows, &cols); sudo_lbuf_init(&lbuf, usage_out, indent, NULL, cols); if (strcmp(pname, "sudoedit") == 0) { sudoedit = true; |