]> granicus.if.org Git - php/commitdiff
Use string literal as format
authorAnatol Belski <ab@php.net>
Mon, 12 Mar 2018 14:17:08 +0000 (15:17 +0100)
committerAnatol Belski <ab@php.net>
Mon, 12 Mar 2018 14:17:08 +0000 (15:17 +0100)
ext/opcache/shared_alloc_win32.c

index 0356e7042049716316750e0a3ac3bf3b444d3558..89b5df3eefd7536bede3c0b7559142abaf769736 100644 (file)
@@ -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)