fix format string (inspired by issue #4945)
[asterisk/asterisk.git] / cli.c
diff --git a/cli.c b/cli.c
index e4ab933..d9ffa20 100755 (executable)
--- a/cli.c
+++ b/cli.c
@@ -1340,7 +1340,7 @@ int ast_cli_command(int fd, char *s)
                        if (e) {
                                switch(e->handler(fd, x, argv)) {
                                case RESULT_SHOWUSAGE:
-                                       ast_cli(fd, e->usage);
+                                       ast_cli(fd, "%s", e->usage);
                                        break;
                                }
                        } else