Fix a really stupid bug in WriteMinidumpForChildProcess

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1047 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
ted.mielczarek@gmail.com 2012-09-24 18:36:34 +00:00
parent f1489baeb7
commit 3500120c1f

View file

@ -982,7 +982,7 @@ bool ExceptionHandler::WriteMinidumpWithExceptionForProcess(
// The explicit comparison to TRUE avoids a warning (C4800).
success = (minidump_write_dump_(process,
GetCurrentProcessId(),
GetProcessId(process),
dump_file,
dump_type_,
exinfo ? &except_info : NULL,