diff options
author | Anwar Ghuloum <anwarg@google.com> | 2014-03-11 15:42:58 -0700 |
---|---|---|
committer | Anwar Ghuloum <anwarg@google.com> | 2014-03-11 15:42:58 -0700 |
commit | 4bc054019d148444e0d0308e21ee26db53e43b72 (patch) | |
tree | 129de28d7dbe4dab69563fd696c09a4acfccbd16 | |
parent | 1649c77ed29eada5de32ace97033b9d898e9a6eb (diff) | |
download | native-4bc054019d148444e0d0308e21ee26db53e43b72.tar.gz |
Fix parameter ordering for installd's dex2oat execl.
Change-Id: Ibd6fd46c6ec3137874f9a3d5eea134bc804e039a
-rw-r--r-- | cmds/installd/commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c index 0e3ea4249d..10244ac764 100644 --- a/cmds/installd/commands.c +++ b/cmds/installd/commands.c @@ -632,8 +632,8 @@ static void run_dex2oat(int zip_fd, int oat_fd, const char* input_file_name, execl(DEX2OAT_BIN, DEX2OAT_BIN, zip_fd_arg, zip_location_arg, oat_fd_arg, oat_location_arg, - strlen(dex2oat_flags) > 0 ? dex2oat_flags : NULL, profile_file, + strlen(dex2oat_flags) > 0 ? dex2oat_flags : NULL, (char*) NULL); ALOGE("execl(%s) failed: %s\n", DEX2OAT_BIN, strerror(errno)); } |