summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-12-06 07:27:29 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-12-06 07:27:29 +0000
commitcce381e307dd3b2a3b54463afae53b6a8a30cefc (patch)
treedcc4d0f527bb26abcdeb45e81c51feaeda4f9b8a
parentcc06663c0419ff15df786e21fda6cfbbfd6d90d8 (diff)
parent0c04f782865e493945aee466c4fff4e73c36a659 (diff)
downloadcore-cce381e307dd3b2a3b54463afae53b6a8a30cefc.tar.gz
core-cce381e307dd3b2a3b54463afae53b6a8a30cefc.tar.bz2
core-cce381e307dd3b2a3b54463afae53b6a8a30cefc.zip
Merge "fastboot: fix build break"
-rw-r--r--fastboot/fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/fs.cpp b/fastboot/fs.cpp
index fe5cbc3d7..9949eae41 100644
--- a/fastboot/fs.cpp
+++ b/fastboot/fs.cpp
@@ -83,7 +83,7 @@ static int exec_e2fs_cmd(const char* path, const char** argv, const char** envp)
int status;
pid_t child;
if ((child = fork()) == 0) {
- execvpe(path, const_cast<char**>(argv), const_cast<char**>(envp));
+ execve(path, const_cast<char**>(argv), const_cast<char**>(envp));
_exit(EXIT_FAILURE);
}
if (child < 0) {