Merge "fastboot: fix build break"
am: cce381e307
Change-Id: I1492e940fff923a979d957d9ca1d51ecffdb6492
This commit is contained in:
commit
2cbce3739b
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue