diff options
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); |