rbcfg: fix format string bug
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 41410
This commit is contained in:
parent
3c791c31bf
commit
a68ae1a701
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ usage(void)
|
|||
const struct rbcfg_command *cmd;
|
||||
cmd = &rbcfg_commands[i];
|
||||
|
||||
len = snprintf(buf, sizeof(buf), cmd->usage);
|
||||
len = snprintf(buf, sizeof(buf), "%s", cmd->usage);
|
||||
buf[len] = '\0';
|
||||
fprintf(stderr, "%s\n", buf);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue