mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-07-10 15:07:31 +00:00
Fix crash_generator error message
Patch by Chris Dearman <chris@mips.com> R=ted at http://breakpad.appspot.com/374001/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@950 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
88ccbb4804
commit
de8292b1d4
|
@ -195,7 +195,10 @@ bool CrashGenerator::CreateChildCrash(
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!WIFSIGNALED(status) || WTERMSIG(status) != crash_signal) {
|
if (!WIFSIGNALED(status) || WTERMSIG(status) != crash_signal) {
|
||||||
perror("CrashGenerator: Child process not killed by the expected signal");
|
fprintf(stderr, "CrashGenerator: Child process not killed by the expected signal\n"
|
||||||
|
" exit status=0x%x signaled=%s sig=%d expected=%d\n",
|
||||||
|
status, WIFSIGNALED(status) ? "true" : "false",
|
||||||
|
WTERMSIG(status), crash_signal);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue