summaryrefslogtreecommitdiff
path: root/ext/ming/ming.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ming/ming.c')
-rw-r--r--ext/ming/ming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ming/ming.c b/ext/ming/ming.c
index d5687c453d..3b718315a9 100644
--- a/ext/ming/ming.c
+++ b/ext/ming/ming.c
@@ -2725,7 +2725,7 @@ static void php_ming_error(char *msg, ...)
vspprintf(&buffer, 0, msg, args);
va_end(args);
- php_error_docref(NULL TSRMLS_CC, E_ERROR, buffer);
+ php_error_docref(NULL TSRMLS_CC, E_ERROR, "%s", buffer);
efree(buffer);
}