com php-src: Fixed format: ext/opcache/zend_shared_alloc. c
| From: | Xinchen Hui | Date: | Fri, 24 Jun 2016 13:13:04 +0000 |
| Subject: | com php-src: Fixed format: ext/opcache/zend_shared_alloc. c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92639@lists.php.net to get a copy of this message | ||
Commit: 53de1c283053d91cb4add279cad507d000d77a51
Author: Xinchen Hui <laruence@gmail.com> Fri, 24 Jun 2016 21:13:04 +0800
Parents: 056c2ce349bd40708026a48a7531b89f8b644dc5
Branches: PHP-7.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=53de1c283053d91cb4add279cad507d000d77a51
Log:
Fixed format
Changed paths:
M ext/opcache/zend_shared_alloc.c
Diff:
diff --git a/ext/opcache/zend_shared_alloc.c b/ext/opcache/zend_shared_alloc.c
index ff42c4c..19b27c6 100644
--- a/ext/opcache/zend_shared_alloc.c
+++ b/ext/opcache/zend_shared_alloc.c
@@ -299,7 +299,7 @@ static size_t zend_shared_alloc_get_largest_free_block(void)
#define MIN_FREE_MEMORY 64*1024
#define SHARED_ALLOC_FAILED() do { \
- zend_accel_error(ACCEL_LOG_WARNING, "Not enough free shared space to allocate %pd bytes (%pd
bytes free)", (zend_long)size, (zend_long)ZSMMG(shared_free)); \
+ zend_accel_error(ACCEL_LOG_WARNING, "Not enough free shared space to allocate
"ZEND_LONG_FMT" bytes ("ZEND_LONG_FMT" bytes free)", (zend_long)size,
(zend_long)ZSMMG(shared_free)); \
if (zend_shared_alloc_get_largest_free_block() < MIN_FREE_MEMORY) { \
ZSMMG(memory_exhausted) = 1; \
} \