Skip to content

Commit

Permalink
Print "segmentation fault" when a signal is caught
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdGrub1384 authored Sep 4, 2019
1 parent 76ab89e commit 8bb9509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios_system.m
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ static void cleanup_function(void* parameters) {
}

void crash_handler(int sig) {
NSLog(@"Received signal: %i", sig);
fputs("segmentation fault\n", thread_stderr);
ios_exit(1);
}

Expand Down

0 comments on commit 8bb9509

Please sign in to comment.