Fix parameter ordering for installd's dex2oat execl.
Change-Id: Ibd6fd46c6ec3137874f9a3d5eea134bc804e039a
diff --git a/cmds/installd/commands.c b/cmds/installd/commands.c
index 0e3ea42..10244ac 100644
--- a/cmds/installd/commands.c
+++ b/cmds/installd/commands.c
@@ -632,8 +632,8 @@
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));
}