[U-Boot] [PATCH] fix cpuat91 compile warning

Tom Rix tom at bumblecow.com
Sat Oct 17 17:59:30 CEST 2009


Eric Benard wrote:
> main.c: In function 'abortboot':
> main.c:122: warning: too few arguments for format
> 
> Signed-off-by: Eric Benard <eric at eukrea.com>
> ---
>  include/configs/cpuat91.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/cpuat91.h b/include/configs/cpuat91.h
> index 0d3acf6..8746f70 100644
> --- a/include/configs/cpuat91.h
> +++ b/include/configs/cpuat91.h
> @@ -189,8 +189,8 @@
>  #define CONFIG_SILENT_CONSOLE		1
>  
>  #define CONFIG_AUTOBOOT_KEYED		1
> -#define CONFIG_AUTOBOOT_PROMPT 		\
> -	"Press SPACE to abort autoboot in %d seconds\n"
> +#define CONFIG_AUTOBOOT_PROMPT		\
> +	"Press SPACE to abort autoboot\n"
>  #define CONFIG_AUTOBOOT_STOP_STR	" "
>  #define CONFIG_AUTOBOOT_DELAY_STR	"d"
>  
Eric,
This has been pushed to arm/master-sync
Tom



More information about the U-Boot mailing list