diff options
-rw-r--r-- | ext/standard/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |