From 89a091edd24f23e6abffa215548b38ec538b9d2f Mon Sep 17 00:00:00 2001 From: Itagaki Takahiro Date: Mon, 4 Jan 2010 01:06:21 +0000 Subject: [PATCH] Silence compiler warning about printf format for HANDLE. --- src/backend/port/win32_shmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/port/win32_shmem.c b/src/backend/port/win32_shmem.c index 4189962bc0..18917bff1e 100644 --- a/src/backend/port/win32_shmem.c +++ b/src/backend/port/win32_shmem.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/port/win32_shmem.c,v 1.14 2010/01/02 16:57:50 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/port/win32_shmem.c,v 1.15 2010/01/04 01:06:21 itagaki Exp $ * *------------------------------------------------------------------------- */ @@ -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; } -- 2.40.0