aboutsummaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-12 18:29:41 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-12 18:29:41 +0000
commitd6ab3738d88cdb85997a56919cf47653017e7f09 (patch)
treee12f186707b4e475f0431e02343952127b2f9772 /cli.c
parent6484f1b7f8ebe3ac459c834987c9b77f3a60f3ea (diff)
Fix CLI formatting typo (bug #4945)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6324 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 b8cbc939e..f93c58053 100755
--- a/cli.c
+++ b/cli.c
@@ -1108,7 +1108,7 @@ static int handle_help(int fd, int argc, char *argv[]) {
e = find_cli(argv + 1, 1);
if (e) {
if (e->usage)
- ast_cli(fd, e->usage);
+ ast_cli(fd, "%s", e->usage);
else {
join(fullcmd, sizeof(fullcmd), argv+1);
ast_cli(fd, "No help text available for '%s'.\n", fullcmd);