18f9af742c663b1dcdcbf1cf5f75816557584620
[openwrt/openwrt.git] / package / boot / uboot-at91 / patches / 001-fix-Wformat-security.patch
1 diff --git a/cmd/version.c b/cmd/version.c
2 index b2fffe9..bcbbeb1 100644
3 --- a/cmd/version.c
4 +++ b/cmd/version.c
5 @@ -18,7 +18,7 @@ static int do_version(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
6 {
7 char buf[DISPLAY_OPTIONS_BANNER_LENGTH];
8
9 - printf(display_options_get_banner(false, buf, sizeof(buf)));
10 + printf("%s",display_options_get_banner(false, buf, sizeof(buf)));
11 #ifdef CC_VERSION_STRING
12 puts(CC_VERSION_STRING "\n");
13 #endif