diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-18 17:39:49 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-18 17:39:49 -0700 |
commit | f614d64d4b4dfcd20c77ac3ccf2d9c9090a49303 (patch) | |
tree | 2ef9420b1592cde2cdc1bc82fdf1464fdd6f86a8 /vold/logwrapper.c | |
parent | e037fd7e193ecccbb5c0888e49f6d58c224bc11d (diff) | |
download | core-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.c | 2 |
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); |