[U-Boot] [PATCH] avr32/cmd_bdinfo: fix printf() format warnings

Dirk Behme dirk.behme at googlemail.com
Tue Nov 11 16:11:50 CET 2008


Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> 
> diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
> index 6675241..087eda7 100644
> --- a/common/cmd_bdinfo.c
> +++ b/common/cmd_bdinfo.c

Subject mentions avr32/cmd_bdinfo while you touch common/cmd_bdinfo.c? 
Typo?

Dirk

> @@ -378,7 +378,7 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
>  	}
>  	puts ("\nip_addr     = ");
>  	print_IPaddr (bd->bi_ip_addr);
> -	printf ("\nbaudrate    = %d bps\n", bd->bi_baudrate);
> +	printf ("\nbaudrate    = %ld bps\n", bd->bi_baudrate);
>  
>  	return 0;
>  }



More information about the U-Boot mailing list