Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f17d588 authored by Jin Qian's avatar Jin Qian Committed by Michael Bestas
Browse files

fastboot: fix build break

execvpe is a GNU extension. Use execve instead.

Change-Id: I8bf4b6a4e9fd0cae0239f4c5aa9707f141460a7d
(cherry picked from commit 0c04f782)
parent 8fe1fa2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {