diff options
Diffstat (limited to 'main/threadstorage.c')
-rw-r--r-- | main/threadstorage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/threadstorage.c b/main/threadstorage.c index ae1719ff8..94ea45d4e 100644 --- a/main/threadstorage.c +++ b/main/threadstorage.c @@ -232,7 +232,7 @@ static struct ast_cli_entry cli[] = { void threadstorage_init(void) { - ast_cli_register_multiple(cli, sizeof(cli) / sizeof(cli[0])); + ast_cli_register_multiple(cli, ARRAY_LEN(cli)); } #endif /* !defined(DEBUG_THREADLOCALS) */ |