From: George Joseph Date: Fri, 1 Apr 2016 18:09:50 +0000 (-0600) Subject: utils.c: Fix typo in handle_show_locks X-Git-Tag: 14.0.0-beta1~292 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=433d2c4bbfa3f7d8bb3a194b16feb99874207f84;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/utils.c b/main/utils.c index 6a778b90c4..e92f5c3d96 100644 --- a/main/utils.c +++ b/main/utils.c @@ -1153,7 +1153,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: