summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-03-12 15:17:08 +0100
committerAnatol Belski <ab@php.net>2018-03-12 15:17:08 +0100
commiteaa5b1f9115685980e726f32086b06fa42a72ea1 (patch)
treefc3d21243f590a92390ce95041ce5cd39cb7b5bd /ext
parent4dd1be207919d85b511d9d61a7768eb639c92794 (diff)
downloadphp-git-eaa5b1f9115685980e726f32086b06fa42a72ea1.tar.gz
Use string literal as format
Diffstat (limited to 'ext')
-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)