From: Anatol Belski Date: Mon, 12 Mar 2018 15:00:24 +0000 (+0100) Subject: Use literal as format X-Git-Tag: php-7.2.4RC1~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=16570b8c7994442a73150fc9268447f9b293183d;p=php Use literal as format --- diff --git a/ext/standard/exec.c b/ext/standard/exec.c index 6eb112cddf..b748e173ce 100644 --- a/ext/standard/exec.c +++ b/ext/standard/exec.c @@ -565,7 +565,7 @@ PHP_FUNCTION(proc_nice) php_ignore_value(nice(pri)); if (errno) { #ifdef PHP_WIN32 - php_error_docref(NULL, E_WARNING, php_win_err()); + php_error_docref(NULL, E_WARNING, "%s", php_win_err()); #else php_error_docref(NULL, E_WARNING, "Only a super user may attempt to increase the priority of a process"); #endif