diff options
Diffstat (limited to 'console-tools/setconsole.c')
-rw-r--r-- | console-tools/setconsole.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/console-tools/setconsole.c b/console-tools/setconsole.c index f437415db..8745b3be2 100644 --- a/console-tools/setconsole.c +++ b/console-tools/setconsole.c | |||
@@ -42,8 +42,6 @@ int setconsole_main(int argc, char **argv) | |||
42 | device = DEV_CONSOLE; | 42 | device = DEV_CONSOLE; |
43 | } | 43 | } |
44 | 44 | ||
45 | if (-1 == ioctl(xopen(device, O_RDONLY), TIOCCONS)) { | 45 | xioctl(xopen(device, O_RDONLY), TIOCCONS, NULL); |
46 | bb_perror_msg_and_die("TIOCCONS"); | ||
47 | } | ||
48 | return EXIT_SUCCESS; | 46 | return EXIT_SUCCESS; |
49 | } | 47 | } |