summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2018-03-12 16:00:24 +0100
committerAnatol Belski <ab@php.net>2018-03-12 16:00:24 +0100
commit16570b8c7994442a73150fc9268447f9b293183d (patch)
treeaa623fbbedd92cd09c5f6d06630b22b2d263cf5e
parent8a985403f61fab780b873c63fa21146e21161373 (diff)
downloadphp-git-16570b8c7994442a73150fc9268447f9b293183d.tar.gz
Use literal as format
-rw-r--r--ext/standard/exec.c2
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