diff options
Diffstat (limited to 'console-tools/deallocvt.c')
-rw-r--r-- | console-tools/deallocvt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c index e9a3989..0974883 100644 --- a/console-tools/deallocvt.c +++ b/console-tools/deallocvt.c @@ -28,6 +28,6 @@ int deallocvt_main(int argc UNUSED_PARAM, char **argv) } /* double cast suppresses "cast to ptr from int of different size" */ - xioctl(get_console_fd(), VT_DISALLOCATE, (void *)(ptrdiff_t)num); + xioctl(get_console_fd_or_die(), VT_DISALLOCATE, (void *)(ptrdiff_t)num); return EXIT_SUCCESS; } |