getopt_ulflags -> getopt32.
[oweals/busybox.git] / console-tools / openvt.c
index 948dba7673e8ad0fd52f074afa2ad2c1b32e9a37..0c0cef23ca435d2a3cf12dca908fcc83126a1669 100644 (file)
@@ -40,7 +40,7 @@ int openvt_main(int argc, char **argv)
                close(0);                       /* so that new vt becomes stdin */
 
                /* and grab new one */
-               fd = bb_xopen(vtname, O_RDWR);
+               fd = xopen(vtname, O_RDWR);
 
                /* Reassign stdout and sterr */
                dup2(fd, STDOUT_FILENO);