]> granicus.if.org Git - php/commitdiff
Fixed format
authorXinchen Hui <laruence@gmail.com>
Fri, 24 Jun 2016 13:13:04 +0000 (21:13 +0800)
committerXinchen Hui <laruence@gmail.com>
Fri, 24 Jun 2016 13:13:04 +0000 (21:13 +0800)
ext/opcache/zend_shared_alloc.c

index ff42c4cf0b88299f341509c82183ace4eb92d37f..19b27c63d669a24cf442f99272c82009af65a640 100644 (file)
@@ -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; \
                } \