aboutsummaryrefslogtreecommitdiff
path: root/console-tools/setlogcons.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/setlogcons.c')
-rw-r--r--console-tools/setlogcons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/setlogcons.c b/console-tools/setlogcons.c
index 1f0ac524e..32153bd2c 100644
--- a/console-tools/setlogcons.c
+++ b/console-tools/setlogcons.c
@@ -27,7 +27,7 @@ extern int setlogcons_main(int argc, char **argv)
27 if (argc == 2) 27 if (argc == 2)
28 arg.subarg = atoi(argv[1]); 28 arg.subarg = atoi(argv[1]);
29 29
30 if (ioctl(bb_xopen("/dev/tty1", O_RDONLY), TIOCLINUX, &arg)) 30 if (ioctl(bb_xopen(VC_1, O_RDONLY), TIOCLINUX, &arg))
31 bb_perror_msg_and_die("TIOCLINUX");; 31 bb_perror_msg_and_die("TIOCLINUX");;
32 32
33 return 0; 33 return 0;