diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2011-07-05 00:01:35 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2011-07-05 00:01:35 +0300 |
commit | 27af66162baed6a964466b92902accebdd5ae7c7 (patch) | |
tree | 690cfe5764829a7d1b96d5fbf30959be8499546b /src/backend/port/win32/crashdump.c | |
parent | d479a0f92fa9d28772d12fb461888efb3815480f (diff) | |
download | postgresql-27af66162baed6a964466b92902accebdd5ae7c7.tar.gz postgresql-27af66162baed6a964466b92902accebdd5ae7c7.zip |
Message style tweaks
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); |