[PATCH] block: Fix printf warning

Alexander Shiyan shc_work at mail.ru
Thu May 31 08:26:34 EDT 2012


Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
 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




More information about the barebox mailing list