diff options
Diffstat (limited to 'console-tools/deallocvt.c')
-rw-r--r-- | console-tools/deallocvt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c index db52747..a690266 100644 --- a/console-tools/deallocvt.c +++ b/console-tools/deallocvt.c @@ -31,8 +31,6 @@ int deallocvt_main(int argc, char **argv) bb_show_usage(); } - if (-1 == ioctl(get_console_fd(), VT_DISALLOCATE, num)) { - bb_perror_msg_and_die("VT_DISALLOCATE"); - } + xioctl(get_console_fd(), VT_DISALLOCATE, (void *)num); return EXIT_SUCCESS; } |