aboutsummaryrefslogtreecommitdiffstats
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 e685268d7..ef3ce6d19 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -873,7 +873,7 @@ static int handle_commandcomplete(int fd, int argc, char *argv[])
return RESULT_SHOWUSAGE;
buf = __ast_cli_generator(argv[2], argv[3], atoi(argv[4]), 0);
if (buf) {
- ast_cli(fd, buf);
+ ast_cli(fd, "%s", buf);
free(buf);
} else
ast_cli(fd, "NULL\n");