[U-Boot-Users] v1.3.4-rc1 released

Heiko Schocher heiko.schocher at invitel.hu
Wed Jul 16 21:29:26 CEST 2008


Hello Wolfgang,

u-boot-users-request at lists.sourceforge.net wrote:
[...]

> - sc3:
> 	main.c: In function 'abortboot':
> 	main.c:119: warning: too many arguments for format

[PATCH] sc3: Fix compilerwarning:
          main.c:119: warning: too many arguments for format

Signed-off-by: Heiko Schocher <hs at denx.de>
---
 include/configs/sc3.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/configs/sc3.h b/include/configs/sc3.h
index f6e40de..0ff889a 100644
--- a/include/configs/sc3.h
+++ b/include/configs/sc3.h
@@ -132,7 +132,8 @@
 
 #if 1	/* feel free to disable for development */
 #define CONFIG_AUTOBOOT_KEYED		/* Enable password protection	*/
-#define CONFIG_AUTOBOOT_PROMPT		"\nSC3 - booting... stop with ENTER\n"
+#define CONFIG_AUTOBOOT_PROMPT		"\nSC3 - booting in %d seconds ..." \
+					" stop with ENTER\n"
 #define CONFIG_AUTOBOOT_DELAY_STR	"\r"	/* 1st "password"	*/
 #define CONFIG_AUTOBOOT_DELAY_STR2	"\n"	/* 1st "password"	*/
 #endif
-- 
1.5.6.1






More information about the U-Boot mailing list