summaryrefslogtreecommitdiff
path: root/src/backend/port/win32/crashdump.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-07-05 00:01:35 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-07-05 00:17:25 +0300
commit06f04b6dc41354d1eada7b68bab339c908fc97eb (patch)
tree9d7730ebcc5cd83599dc598863fcadb0292e6f81 /src/backend/port/win32/crashdump.c
parent413ed2556f7ea21aa7c9d6fe28225455f0e5eac3 (diff)
Message style tweaks
Diffstat (limited to 'src/backend/port/win32/crashdump.c')
-rw-r--r--src/backend/port/win32/crashdump.c10
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);