diff options
Diffstat (limited to 'console-tools/loadacm.c')
-rw-r--r-- | console-tools/loadacm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/console-tools/loadacm.c b/console-tools/loadacm.c index 5dbf03e36..3fb4e7665 100644 --- a/console-tools/loadacm.c +++ b/console-tools/loadacm.c | |||
@@ -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)) { |