Silence compiler warning about printf format for HANDLE.
authorItagaki Takahiro <[email protected]>
Mon, 4 Jan 2010 01:06:21 +0000 (01:06 +0000)
committerItagaki Takahiro <[email protected]>
Mon, 4 Jan 2010 01:06:21 +0000 (01:06 +0000)
src/backend/port/win32_shmem.c

index b6789aaa063b70cc75b789fcb291742458964563..3f37e31b60c9141eba0e837732640f4bf9408ef1 100644 (file)
@@ -350,7 +350,7 @@ pgwin32_ReserveSharedMemoryRegion(HANDLE hChild)
                                MEM_RESERVE, PAGE_READWRITE);
    if (address == NULL) {
        /* Don't use FATAL since we're running in the postmaster */
-       elog(LOG, "could not reserve shared memory region (addr=%p) for child %lu: %lu",
+       elog(LOG, "could not reserve shared memory region (addr=%p) for child %p: %lu",
             UsedShmemSegAddr, hChild, GetLastError());
        return false;
    }