diff options
Diffstat (limited to 'console-tools/loadfont.c')
-rw-r--r-- | console-tools/loadfont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index 48b298002..567aa38ae 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c | |||
@@ -174,7 +174,7 @@ int loadfont_main(int argc, char **argv UNUSED_PARAM) | |||
174 | if (argc != 1) | 174 | if (argc != 1) |
175 | bb_show_usage(); | 175 | bb_show_usage(); |
176 | 176 | ||
177 | fd = xopen(CURRENT_VC, O_RDWR); | 177 | fd = get_console_fd_or_die(); |
178 | loadnewfont(fd); | 178 | loadnewfont(fd); |
179 | 179 | ||
180 | return EXIT_SUCCESS; | 180 | return EXIT_SUCCESS; |