Skip to content

Commit

Permalink
Add Error Return
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Apr 11, 2013
1 parent 0f1d65e commit 762f93e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ int main(int argc, char *argv[]){
//performance
int i = select_thin_macho_by_arch(tf, arch);
if(i == -1){
printf("atos: Unknown architecture: %s\n", arch);
printf("atos: Can not find macho for architecture: %s\n", arch);
exit(-1);
}
thin_macho = tf->thin_machos[i];
//print_all_dwarf2_per_objfile(thin_macho->dwarf2_per_objfile);
Expand Down

0 comments on commit 762f93e

Please sign in to comment.