Signed-off-by: Etienne CHAMPETIER <[email protected]>
---
 package/boot/rbcfg/src/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/boot/rbcfg/src/main.c b/package/boot/rbcfg/src/main.c
index 5614a6c..b7cf79f 100644
--- 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);
        }
-- 
1.7.1
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to