diff options
author | Matt Kraai <kraai@debian.org> | 2001-07-23 14:52:08 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-07-23 14:52:08 +0000 |
commit | 439e3df65300100e4b63580141eaa238c30431d5 (patch) | |
tree | f74320f9994faf4d68826c95cb8d043e35d3a685 /console-tools/loadacm.c | |
parent | 0139ca92ff4b960e904d18bc0254499e163e2545 (diff) | |
download | busybox-w32-439e3df65300100e4b63580141eaa238c30431d5.tar.gz busybox-w32-439e3df65300100e4b63580141eaa238c30431d5.tar.bz2 busybox-w32-439e3df65300100e4b63580141eaa238c30431d5.zip |
Add support for devfs device names.
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)) { |