projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ee6bfa
)
rbcfg: fix format string bug
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 30 Jun 2014 08:19:44 +0000
(08:19 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 30 Jun 2014 08:19:44 +0000
(08:19 +0000)
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
SVN-Revision: 41410
package/boot/rbcfg/src/main.c
patch
|
blob
|
history
diff --git
a/package/boot/rbcfg/src/main.c
b/package/boot/rbcfg/src/main.c
index 5614a6c22330a0e3fbd80ccc8231a8982e6e0bea..b7cf79ffaefe102efacf2bbbdb215d96028b9c30 100644
(file)
--- a/
package/boot/rbcfg/src/main.c
+++ b/
package/boot/rbcfg/src/main.c
@@
-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);
}