From ab90e55b9e0d427f17d173610502e29874291a3a Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Wed, 24 Jun 2015 15:29:26 +0200 Subject: [PATCH] Passing a zend_string * to %s is a bad idea --- sapi/phpdbg/phpdbg_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0