summaryrefslogtreecommitdiff
path: root/coreutils/chroot.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-02-06 01:20:12 +0000
committerDenis Vlasenko2007-02-06 01:20:12 +0000
commit1d76f439da81d3a05f0e0fdde3f81ec56fb20836 (patch)
treef3e2e2185d092f87843fe4bbc9d1098185a5bdbd /coreutils/chroot.c
parentcc24419e98853aede7c652edb3c1c79a9865bdda (diff)
downloadbusybox-1d76f439da81d3a05f0e0fdde3f81ec56fb20836.zip
busybox-1d76f439da81d3a05f0e0fdde3f81ec56fb20836.tar.gz
EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>
Diffstat (limited to 'coreutils/chroot.c')
-rw-r--r--coreutils/chroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/chroot.c b/coreutils/chroot.c
index 16c743f..fcd70f2 100644
--- a/coreutils/chroot.c
+++ b/coreutils/chroot.c
@@ -33,6 +33,6 @@ int chroot_main(int argc, char **argv)
argv[1] = (char *) "-i";
}
- execvp(*argv, argv);
+ BB_EXECVP(*argv, argv);
bb_perror_msg_and_die("cannot execute %s", *argv);
}