diff options
author | Brian Carlstrom <bdc@google.com> | 2010-10-07 16:02:11 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2010-10-07 16:02:11 -0700 |
commit | de6d1d889ebf15250c04a8ffc204b91af1e447e3 (patch) | |
tree | 74e7bf4e0179ab278d36d502642a3c6db2825061 /cmds | |
parent | c8b7971cb3e09dfd4480a4bb8875a32157b62192 (diff) | |
download | frameworks_base-de6d1d889ebf15250c04a8ffc204b91af1e447e3.zip frameworks_base-de6d1d889ebf15250c04a8ffc204b91af1e447e3.tar.gz frameworks_base-de6d1d889ebf15250c04a8ffc204b91af1e447e3.tar.bz2 |
Move LOG_ALWAYS_FATAL to end of app_process
Since LOG_ALWAYS_FATAL is always fatal and code after it is by
definition unreachable, put the call after other diagnostic output.
Change-Id: Ib3a515a04125d8e4f6e8af3a6f59226e8f0dd9cd
Diffstat (limited to 'cmds')
-rw-r--r-- | cmds/app_process/app_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/app_process/app_main.cpp b/cmds/app_process/app_main.cpp index 7decf9a..0159edd 100644 --- a/cmds/app_process/app_main.cpp +++ b/cmds/app_process/app_main.cpp @@ -171,9 +171,9 @@ int main(int argc, const char* const argv[]) runtime.start(); } } else { - LOG_ALWAYS_FATAL("app_process: no class name or --zygote supplied."); fprintf(stderr, "Error: no class name or --zygote supplied.\n"); app_usage(); + LOG_ALWAYS_FATAL("app_process: no class name or --zygote supplied."); return 10; } |