From eaa5b1f9115685980e726f32086b06fa42a72ea1 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 12 Mar 2018 15:17:08 +0100 Subject: Use string literal as format --- ext/opcache/shared_alloc_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1