Merge "fastboot: fix build break"
This commit is contained in:
commit
cce381e307
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;
|
int status;
|
||||||
pid_t child;
|
pid_t child;
|
||||||
if ((child = fork()) == 0) {
|
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);
|
_exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
if (child < 0) {
|
if (child < 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue