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 a01b343e3..e590046e8 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -1602,7 +1602,7 @@ int ast_cli_perms_init(int reload)
/*! \brief initialize the _full_cmd string in * each of the builtins. */
void ast_builtins_init(void)
{
- ast_cli_register_multiple(cli_cli, sizeof(cli_cli) / sizeof(struct ast_cli_entry));
+ ast_cli_register_multiple(cli_cli, ARRAY_LEN(cli_cli));
}
/*!