diff options
Diffstat (limited to 'funcs/func_groupcount.c')
-rw-r--r-- | funcs/func_groupcount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_groupcount.c b/funcs/func_groupcount.c index 609d01fef..255a28d69 100644 --- a/funcs/func_groupcount.c +++ b/funcs/func_groupcount.c @@ -127,7 +127,7 @@ static int group_count_function_read(struct ast_channel *chan, const char *cmd, } if ((count = ast_app_group_get_count(group, category)) == -1) { - ast_log(LOG_NOTICE, "No group could be found for channel '%s'\n", chan->name); + ast_log(LOG_NOTICE, "No group could be found for channel '%s'\n", ast_channel_name(chan)); } else { snprintf(buf, len, "%d", count); ret = 0; |