summaryrefslogtreecommitdiff
path: root/main/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/cli.c')
-rw-r--r--main/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/cli.c b/main/cli.c
index a3a2532c4..fa30bf3e5 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -923,7 +923,7 @@ static int group_show_channels(int fd, int argc, char *argv[])
ast_cli(fd, FORMAT_STRING, "Channel", "Group", "Category");
- ast_app_group_list_lock();
+ ast_app_group_list_rdlock();
gi = ast_app_group_list_head();
while (gi) {