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

Commit 06ed9491 authored by Anwar Ghuloum's avatar Anwar Ghuloum Committed by Gerrit Code Review
Browse files

Merge "Fix parameter ordering for installd's dex2oat execl."

parents 1649c77e 4bc05401
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -632,8 +632,8 @@ static void run_dex2oat(int zip_fd, int oat_fd, const char* input_file_name,
    execl(DEX2OAT_BIN, DEX2OAT_BIN,
    execl(DEX2OAT_BIN, DEX2OAT_BIN,
          zip_fd_arg, zip_location_arg,
          zip_fd_arg, zip_location_arg,
          oat_fd_arg, oat_location_arg,
          oat_fd_arg, oat_location_arg,
          strlen(dex2oat_flags) > 0 ? dex2oat_flags : NULL,
          profile_file,
          profile_file,
          strlen(dex2oat_flags) > 0 ? dex2oat_flags : NULL,
          (char*) NULL);
          (char*) NULL);
    ALOGE("execl(%s) failed: %s\n", DEX2OAT_BIN, strerror(errno));
    ALOGE("execl(%s) failed: %s\n", DEX2OAT_BIN, strerror(errno));
}
}