summaryrefslogtreecommitdiffstats
path: root/vold/logwrapper.c
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-18 17:39:49 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-18 17:39:49 -0700
commitf614d64d4b4dfcd20c77ac3ccf2d9c9090a49303 (patch)
tree2ef9420b1592cde2cdc1bc82fdf1464fdd6f86a8 /vold/logwrapper.c
parente037fd7e193ecccbb5c0888e49f6d58c224bc11d (diff)
downloadcore-f614d64d4b4dfcd20c77ac3ccf2d9c9090a49303.tar.gz
core-f614d64d4b4dfcd20c77ac3ccf2d9c9090a49303.tar.bz2
core-f614d64d4b4dfcd20c77ac3ccf2d9c9090a49303.zip
auto import from //branches/cupcake_rel/...@140373
Diffstat (limited to 'vold/logwrapper.c')
-rw-r--r--vold/logwrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vold/logwrapper.c b/vold/logwrapper.c
index 25d22819b..2900f2e2b 100644
--- a/vold/logwrapper.c
+++ b/vold/logwrapper.c
@@ -93,7 +93,7 @@ void child(int argc, char* argv[]) {
argv_child[argc] = NULL;
// XXX: PROTECT FROM VIKING KILLER
- if (execvp(argv_child[0], argv_child)) {
+ if (execv(argv_child[0], argv_child)) {
LOG(LOG_ERROR, "logwrapper",
"executing %s failed: %s", argv_child[0], strerror(errno));
exit(-1);