aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-09-24 18:36:34 +0000
committerted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-09-24 18:36:34 +0000
commit3500120c1f3b7db58a9db1ea7d4d01f4a04f7b01 (patch)
tree49a9995ac9e5cbd2b4944cbb74a488fb19e4d269 /src
parentTurn on more warnings in ios / mac projects. (diff)
downloadbreakpad-3500120c1f3b7db58a9db1ea7d4d01f4a04f7b01.tar.xz
Fix a really stupid bug in WriteMinidumpForChildProcess
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1047 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src')
-rw-r--r--src/client/windows/handler/exception_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/windows/handler/exception_handler.cc b/src/client/windows/handler/exception_handler.cc
index eb778191..e30ec40d 100644
--- a/src/client/windows/handler/exception_handler.cc
+++ b/src/client/windows/handler/exception_handler.cc
@@ -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,