com php-src: fix format: ext/sysvshm/sysvshm.c
| From: | Anatol Belski | Date: | Thu, 18 Aug 2016 14:29:46 +0000 |
| Subject: | com php-src: fix format: ext/sysvshm/sysvshm.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93975@lists.php.net to get a copy of this message | ||
Commit: 74cfb2284e7b3029decd4b1aefde0783e539355c
Author: Anatol Belski <ab@php.net> Thu, 18 Aug 2016 16:29:46 +0200
Parents: 2f430a4b6cf1e12b9629d451ce5e203c58b9eb72
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=74cfb2284e7b3029decd4b1aefde0783e539355c
Log:
fix format
Changed paths:
M ext/sysvshm/sysvshm.c
Diff:
diff --git a/ext/sysvshm/sysvshm.c b/ext/sysvshm/sysvshm.c
index a0a2f03..b6ad02b 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;
}