summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_list.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-06-24 15:29:26 +0200
committerBob Weinand <bobwei9@hotmail.com>2015-06-24 15:29:26 +0200
commitab90e55b9e0d427f17d173610502e29874291a3a (patch)
tree0203902642686017498635bdfa779b4241320d17 /sapi/phpdbg/phpdbg_list.c
parent2424b349ad1bb77f921e3a808cf3ada4ad3a8fba (diff)
downloadphp-git-ab90e55b9e0d427f17d173610502e29874291a3a.tar.gz
Passing a zend_string * to %s is a bad idea
Diffstat (limited to 'sapi/phpdbg/phpdbg_list.c')
-rw-r--r--sapi/phpdbg/phpdbg_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c
index c96d8652f0..d38495bf9d 100644
--- a/sapi/phpdbg/phpdbg_list.c
+++ b/sapi/phpdbg/phpdbg_list.c
@@ -181,7 +181,7 @@ void phpdbg_list_function(const zend_function *fbc) /* {{{ */
const zend_op_array *ops;
if (fbc->type != ZEND_USER_FUNCTION) {
- phpdbg_error("list", "type=\"internalfunction\" function=\"%s\"", "The function requested (%s) is not user defined", fbc->common.function_name);
+ phpdbg_error("list", "type=\"internalfunction\" function=\"%s\"", "The function requested (%s) is not user defined", fbc->common.function_name->val);
return;
}