We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a98540 commit 16570b8Copy full SHA for 16570b8
1 file changed
ext/standard/exec.c
@@ -565,7 +565,7 @@ PHP_FUNCTION(proc_nice)
565
php_ignore_value(nice(pri));
566
if (errno) {
567
#ifdef PHP_WIN32
568
- php_error_docref(NULL, E_WARNING, php_win_err());
+ php_error_docref(NULL, E_WARNING, "%s", php_win_err());
569
#else
570
php_error_docref(NULL, E_WARNING, "Only a super user may attempt to increase the priority of a process");
571
#endif
0 commit comments