summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-03-12 15:18:11 +0100
committerAnatol Belski <ab@php.net>2018-03-12 15:18:11 +0100
commit8a985403f61fab780b873c63fa21146e21161373 (patch)
treee7db0887fb3402c03fa017135329f3103d0b30bb
parentfc09d7e76f192538949fb9a181aac29daebde980 (diff)
parenteaa5b1f9115685980e726f32086b06fa42a72ea1 (diff)
downloadphp-git-8a985403f61fab780b873c63fa21146e21161373.tar.gz
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Use string literal as format
-rw-r--r--ext/opcache/shared_alloc_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/shared_alloc_win32.c b/ext/opcache/shared_alloc_win32.c
index 0356e70420..89b5df3eef 100644
--- a/ext/opcache/shared_alloc_win32.c
+++ b/ext/opcache/shared_alloc_win32.c
@@ -71,7 +71,7 @@ static void zend_win_error_message(int type, char *msg, int err)
LocalFree( lpMsgBuf );
- zend_accel_error(type, msg);
+ zend_accel_error(type, "%s", msg);
}
static char *create_name_with_username(char *name)