diff options
Diffstat (limited to 'console-tools/setlogcons.c')
-rw-r--r-- | console-tools/setlogcons.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/console-tools/setlogcons.c b/console-tools/setlogcons.c index f95a65390..2e2a5a471 100644 --- a/console-tools/setlogcons.c +++ b/console-tools/setlogcons.c | |||
@@ -25,8 +25,7 @@ int setlogcons_main(int argc, char **argv) | |||
25 | if (argc == 2) | 25 | if (argc == 2) |
26 | arg.subarg = xatoul_range(argv[1], 0, 63); | 26 | arg.subarg = xatoul_range(argv[1], 0, 63); |
27 | 27 | ||
28 | if (ioctl(xopen(VC_1, O_RDONLY), TIOCLINUX, &arg)) | 28 | xioctl(xopen(VC_1, O_RDONLY), TIOCLINUX, &arg); |
29 | bb_perror_msg_and_die("TIOCLINUX"); | ||
30 | 29 | ||
31 | return 0; | 30 | return 0; |
32 | } | 31 | } |