]> granicus.if.org Git - php/commitdiff
Use literal as format
authorAnatol Belski <ab@php.net>
Mon, 12 Mar 2018 15:00:24 +0000 (16:00 +0100)
committerAnatol Belski <ab@php.net>
Mon, 12 Mar 2018 15:00:24 +0000 (16:00 +0100)
ext/standard/exec.c

index 6eb112cddfe23aec93ed667a0b41ce4d0be98d5d..b748e173ceff7ff3639888cdb16f25cecd41a9bf 100644 (file)
@@ -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