diff options
Diffstat (limited to 'console-tools/chvt.c')
-rw-r--r-- | console-tools/chvt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c index ea3e7c048..302ffb4f9 100644 --- a/console-tools/chvt.c +++ b/console-tools/chvt.c | |||
@@ -19,7 +19,6 @@ int chvt_main(int argc, char **argv) | |||
19 | } | 19 | } |
20 | 20 | ||
21 | num = xatou_range(argv[1], 1, 63); | 21 | num = xatou_range(argv[1], 1, 63); |
22 | /* double cast suppresses "cast to ptr from int of different size" */ | 22 | console_make_active(get_console_fd_or_die(), num); |
23 | console_make_active(get_console_fd(), num); | ||
24 | return EXIT_SUCCESS; | 23 | return EXIT_SUCCESS; |
25 | } | 24 | } |