Skip to content

Commit 16570b8

Browse files
committed
Use literal as format
1 parent 8a98540 commit 16570b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/standard/exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ PHP_FUNCTION(proc_nice)
565565
php_ignore_value(nice(pri));
566566
if (errno) {
567567
#ifdef PHP_WIN32
568-
php_error_docref(NULL, E_WARNING, php_win_err());
568+
php_error_docref(NULL, E_WARNING, "%s", php_win_err());
569569
#else
570570
php_error_docref(NULL, E_WARNING, "Only a super user may attempt to increase the priority of a process");
571571
#endif

0 commit comments

Comments
 (0)