fix format string (inspired by issue #4945)
authorRussell Bryant <russell@russellbryant.com>
Fri, 26 Aug 2005 15:59:00 +0000 (15:59 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 26 Aug 2005 15:59:00 +0000 (15:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6415 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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