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:
ted.mielczarek 2012-04-11 20:39:35 +00:00
parent 88ccbb4804
commit de8292b1d4

View file

@ -195,7 +195,10 @@ bool CrashGenerator::CreateChildCrash(
return false;
}
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;
}