aboutsummaryrefslogtreecommitdiff
path: root/loadfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'loadfont.c')
-rw-r--r--loadfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loadfont.c b/loadfont.c
index 1a724ca85..d66500195 100644
--- a/loadfont.c
+++ b/loadfont.c
@@ -46,9 +46,9 @@ extern int loadfont_main(int argc, char **argv)
46 if (argc != 1) 46 if (argc != 1)
47 show_usage(); 47 show_usage();
48 48
49 fd = open("/dev/tty0", O_RDWR); 49 fd = open(CURRENT_VC, O_RDWR);
50 if (fd < 0) 50 if (fd < 0)
51 perror_msg_and_die("Error opening /dev/tty0"); 51 perror_msg_and_die("Error opening " CURRENT_VC);
52 loadnewfont(fd); 52 loadnewfont(fd);
53 53
54 return EXIT_SUCCESS; 54 return EXIT_SUCCESS;