From 3500120c1f3b7db58a9db1ea7d4d01f4a04f7b01 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek@gmail.com" Date: Mon, 24 Sep 2012 18:36:34 +0000 Subject: Fix a really stupid bug in WriteMinidumpForChildProcess git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1047 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/client/windows/handler/exception_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.1