summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-10-20 23:39:16 +0000
committerSascha Schumann <sas@php.net>2000-10-20 23:39:16 +0000
commit8fe7cf26fc21a4a029395e1d12ac2260024008b6 (patch)
treec11f66f5d94404096c56c575e3e0d316f5c9db81
parent625fde5090d4fc29c00ac1e0277d5124b854fb09 (diff)
downloadphp-git-8fe7cf26fc21a4a029395e1d12ac2260024008b6.tar.gz
Add explicit format string
-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;
}