diff options
Diffstat (limited to 'loadacm.c')
-rw-r--r-- | loadacm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,9 +37,9 @@ int loadacm_main(int argc, char **argv) | |||
37 | show_usage(); | 37 | show_usage(); |
38 | } | 38 | } |
39 | 39 | ||
40 | fd = open("/dev/tty", O_RDWR); | 40 | fd = open(CURRENT_VC, O_RDWR); |
41 | if (fd < 0) { | 41 | if (fd < 0) { |
42 | perror_msg_and_die("Error opening /dev/tty1"); | 42 | perror_msg_and_die("Error opening " CURRENT_VC); |
43 | } | 43 | } |
44 | 44 | ||
45 | if (screen_map_load(fd, stdin)) { | 45 | if (screen_map_load(fd, stdin)) { |