summaryrefslogtreecommitdiff
path: root/main/utils.c
diff options
context:
space:
mode:
authorGeorge Joseph <george.joseph@fairview5.com>2016-04-01 12:09:50 -0600
committerGeorge Joseph <george.joseph@fairview5.com>2016-04-01 13:11:34 -0500
commit433d2c4bbfa3f7d8bb3a194b16feb99874207f84 (patch)
tree84e6af144936f44e1f95ff59c2443b4726b9df6e /main/utils.c
parenta04a62586fadb360d8f86248293f0c0191379c7c (diff)
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
Diffstat (limited to 'main/utils.c')
-rw-r--r--main/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/utils.c b/main/utils.c
index 6a778b90c..e92f5c3d9 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: