summaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-06 01:20:12 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-06 01:20:12 +0000
commit1d76f439da81d3a05f0e0fdde3f81ec56fb20836 (patch)
treef3e2e2185d092f87843fe4bbc9d1098185a5bdbd /console-tools
parentcc24419e98853aede7c652edb3c1c79a9865bdda (diff)
downloadbusybox-w32-1d76f439da81d3a05f0e0fdde3f81ec56fb20836.tar.gz
busybox-w32-1d76f439da81d3a05f0e0fdde3f81ec56fb20836.tar.bz2
busybox-w32-1d76f439da81d3a05f0e0fdde3f81ec56fb20836.zip
EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>
Diffstat (limited to 'console-tools')
-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 9296219bd..eb9f49fe2 100644
--- a/console-tools/openvt.c
+++ b/console-tools/openvt.c
@@ -36,7 +36,7 @@ int openvt_main(int argc, char **argv)
36 dup2(fd, STDERR_FILENO); 36 dup2(fd, STDERR_FILENO);
37 while (fd > 2) close(fd--); 37 while (fd > 2) close(fd--);
38 38
39 execvp(argv[2], &argv[2]); 39 BB_EXECVP(argv[2], &argv[2]);
40 _exit(1); 40 _exit(1);
41 } 41 }
42 return EXIT_SUCCESS; 42 return EXIT_SUCCESS;