diff options
-rw-r--r-- | main/pbx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/pbx.c b/main/pbx.c index f34661ce5..1672b5332 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -1529,14 +1529,14 @@ static char *func_args(char *function) char *args = strchr(function, '('); if (!args) - ast_log(LOG_WARNING, "Function doesn't contain parentheses. Assuming null argument.\n"); + ast_log(LOG_WARNING, "Function '%s' doesn't contain parentheses. Assuming null argument.\n", function); else { char *p; *args++ = '\0'; if ((p = strrchr(args, ')')) ) *p = '\0'; else - ast_log(LOG_WARNING, "Can't find trailing parenthesis?\n"); + ast_log(LOG_WARNING, "Can't find trailing parenthesis for function '%s(%s'?\n", function, args); } return args; } |