From: Russell Bryant Date: Fri, 26 Aug 2005 15:59:00 +0000 (+0000) Subject: fix format string (inspired by issue #4945) X-Git-Tag: 1.2.0-beta1~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7fa558c71ec4efffcba5d3465e617853cedb5c22;p=thirdparty%2Fasterisk.git fix format string (inspired by issue #4945) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6415 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/cli.c b/cli.c index e4ab933575..d9ffa20442 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