]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
utils.c: Fix typo in handle_show_locks 24/2524/1
authorGeorge Joseph <george.joseph@fairview5.com>
Fri, 1 Apr 2016 18:09:50 +0000 (12:09 -0600)
committerGeorge Joseph <george.joseph@fairview5.com>
Fri, 1 Apr 2016 18:11:34 +0000 (13:11 -0500)
ast_cli_allow_on_shutdown(e) should have been ast_cli_allow_at_shutdown(e).

Change-Id: I4f092495c0b2bfd85c2651e0b5877bf4d05d9faf

main/utils.c

index 6a778b90c4ac1decce2c018abd96e0e6f4414b3a..e92f5c3d96141ef5be16584789fcbf77daf7545e 100644 (file)
@@ -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: