From 74cfb2284e7b3029decd4b1aefde0783e539355c Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 18 Aug 2016 16:29:46 +0200 Subject: [PATCH] fix format --- ext/sysvshm/sysvshm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/sysvshm/sysvshm.c b/ext/sysvshm/sysvshm.c index a0a2f039b23..b6ad02b0bfe 100644 --- a/ext/sysvshm/sysvshm.c +++ b/ext/sysvshm/sysvshm.c @@ -182,7 +182,7 @@ PHP_FUNCTION(shm_attach) } if ((shm_ptr = shmat(shm_id, NULL, 0)) == (void *) -1) { - php_error_docref(NULL, E_WARNING, "failed for key 0x" ZEND_LONG_FMT ": %s", shm_key, strerror(errno)); + php_error_docref(NULL, E_WARNING, "failed for key 0x" ZEND_XLONG_FMT ": %s", shm_key, strerror(errno)); efree(shm_list_ptr); RETURN_FALSE; }