diff options
Diffstat (limited to 'util-linux/more.c')
-rw-r--r-- | util-linux/more.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/more.c b/util-linux/more.c index f8b17b3..b89143e 100644 --- a/util-linux/more.c +++ b/util-linux/more.c @@ -91,7 +91,7 @@ extern int more_main(int argc, char **argv) #ifdef BB_FEATURE_USE_TERMIOS cin = fopen("/dev/tty", "r"); if (!cin) - cin = fopen("/dev/console", "r"); + cin = xfopen("/dev/console", "r"); getTermSettings(fileno(cin), &initial_settings); new_settings = initial_settings; new_settings.c_cc[VMIN] = 1; |