Skip to content

Commit

Permalink
Fixed terminal breaking due to call to exit() instead of revm_exit() …
Browse files Browse the repository at this point in the history
…in elfsh
  • Loading branch information
may authored and may committed Feb 12, 2013
1 parent c83b122 commit 54bf8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librevm/api/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ int revm_doerror(void (*fct)(char *str), char *str)
else
{
revm_help(NULL);
exit(-1);
revm_exit(-1);
}
PROFILER_ERR(__FILE__, __FUNCTION__, __LINE__,
"Bypassed error printing", (-1));
Expand Down

0 comments on commit 54bf8c3

Please sign in to comment.