summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/gd/gd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 4b5d32102c..8da5c6435a 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -2055,7 +2055,7 @@ void php_imagettftext_common(INTERNAL_FUNCTION_PARAMETERS, int mode)
#endif
if (error) {
- php_error(E_WARNING, error);
+ php_error(E_WARNING, "%s", error);
RETURN_FALSE;
}