aboutsummaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-26 15:59:00 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-26 15:59:00 +0000
commitfa4f46db7d9008c335ddd0d75a606af5db35b864 (patch)
treef47efe63ebce3d4715097bd31024ce7a22e57566 /cli.c
parent24f6130a486dc8cdceeb7176d7f424841cd94576 (diff)
fix format string (inspired by issue #4945)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6415 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cli.c')
-rwxr-xr-xcli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli.c b/cli.c
index e4ab93357..d9ffa2044 100755
--- 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