aboutsummaryrefslogtreecommitdiff
path: root/console-tools/openvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/openvt.c')
-rw-r--r--console-tools/openvt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/openvt.c b/console-tools/openvt.c
index 948dba767..0c0cef23c 100644
--- a/console-tools/openvt.c
+++ b/console-tools/openvt.c
@@ -40,7 +40,7 @@ int openvt_main(int argc, char **argv)
40 close(0); /* so that new vt becomes stdin */ 40 close(0); /* so that new vt becomes stdin */
41 41
42 /* and grab new one */ 42 /* and grab new one */
43 fd = bb_xopen(vtname, O_RDWR); 43 fd = xopen(vtname, O_RDWR);
44 44
45 /* Reassign stdout and sterr */ 45 /* Reassign stdout and sterr */
46 dup2(fd, STDOUT_FILENO); 46 dup2(fd, STDOUT_FILENO);