From 566601837e312915494cf6d75c8b303505a43fa2 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Fri, 1 Apr 2016 12:09:50 -0600 Subject: [PATCH] utils.c: Fix typo in handle_show_locks ast_cli_allow_on_shutdown(e) should have been ast_cli_allow_at_shutdown(e). Change-Id: I4f092495c0b2bfd85c2651e0b5877bf4d05d9faf --- main/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/utils.c b/main/utils.c index 686af6b2f2..9a400d9db6 100644 --- a/main/utils.c +++ b/main/utils.c @@ -1158,7 +1158,7 @@ static char *handle_show_locks(struct ast_cli_entry *e, int cmd, struct ast_cli_ "Usage: core show locks\n" " This command is for lock debugging. It prints out which locks\n" "are owned by each active thread.\n"; - ast_cli_allow_on_shutdown(e); + ast_cli_allow_at_shutdown(e); return NULL; case CLI_GENERATE: -- 2.47.2