fix format string (inspired by issue #4945)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6415 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2005-08-26 15:59:00 +00:00
parent f64c91537a
commit 7fa558c71e

2
cli.c
View File

@@ -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