diff options
Diffstat (limited to 'src/backend/port/win32/crashdump.c')
-rw-r--r-- | src/backend/port/win32/crashdump.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/port/win32/crashdump.c b/src/backend/port/win32/crashdump.c index 119dd076cae..b905206a29a 100644 --- a/src/backend/port/win32/crashdump.c +++ b/src/backend/port/win32/crashdump.c @@ -105,7 +105,7 @@ crashDumpHandler(struct _EXCEPTION_POINTERS * pExceptionInfo) hDll = LoadLibrary("dbghelp.dll"); if (hDll == NULL) { - write_stderr("could not load dbghelp.dll, cannot write crashdump\n"); + write_stderr("could not load dbghelp.dll, cannot write crash dump\n"); return EXCEPTION_CONTINUE_SEARCH; } @@ -113,7 +113,7 @@ crashDumpHandler(struct _EXCEPTION_POINTERS * pExceptionInfo) if (pDump == NULL) { - write_stderr("could not load required functions in dbghelp.dll, cannot write crashdump\n"); + write_stderr("could not load required functions in dbghelp.dll, cannot write crash dump\n"); return EXCEPTION_CONTINUE_SEARCH; } @@ -144,16 +144,16 @@ crashDumpHandler(struct _EXCEPTION_POINTERS * pExceptionInfo) NULL); if (dumpFile == INVALID_HANDLE_VALUE) { - write_stderr("could not open crash dump file %s for writing: error code %u\n", + write_stderr("could not open crash dump file \"%s\" for writing: error code %u\n", dumpPath, (unsigned int) GetLastError()); return EXCEPTION_CONTINUE_SEARCH; } if ((*pDump) (selfProcHandle, selfPid, dumpFile, dumpType, &ExInfo, NULL, NULL)) - write_stderr("wrote crash dump to %s\n", dumpPath); + write_stderr("wrote crash dump to file \"%s\"\n", dumpPath); else - write_stderr("could not write crash dump to %s: error code %08x\n", + write_stderr("could not write crash dump to file \"%s\": error code %08x\n", dumpPath, (unsigned int) GetLastError()); CloseHandle(dumpFile); |