[PATCH] block: Fix printf warning

Sascha Hauer s.hauer at pengutronix.de
Thu May 31 14:21:37 EDT 2012


On Thu, May 31, 2012 at 04:26:34PM +0400, Alexander Shiyan wrote:
> 
> Signed-off-by: Alexander Shiyan <shc_work at mail.ru>

Applied, thanks.

Sascha
> ---
>  common/block.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/common/block.c b/common/block.c
> index 5983171..71ecfd5 100644
> --- a/common/block.c
> +++ b/common/block.c
> @@ -136,7 +136,7 @@ static int block_cache(struct block_device *blk, int block)
>  	chunk = get_chunk(blk);
>  	chunk->block_start = block & ~blk->blkmask;
>  
> -	debug("%s: %d to %d %s\n", __func__, chunk->block_start,
> +	debug("%s: %d to %d\n", __func__, chunk->block_start,
>  			chunk->num);
>  
>  	num_blocks = min(blk->rdbufsize, blk->num_blocks - chunk->block_start);
> -- 
> 1.7.3.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list