summaryrefslogtreecommitdiffstats
path: root/common/block.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2012-05-31 16:26:34 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2012-05-31 20:21:19 +0200
commit71d559854e44a19e5706c637f6cae5d9687712da (patch)
tree4789f1e7022d69f32de2dff89b2f85d727a912c5 /common/block.c
parent434782f84a8750c83b1d607f8f76f6537c6c26b7 (diff)
downloadbarebox-71d559854e44a19e5706c637f6cae5d9687712da.tar.gz
block: Fix printf warning
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/block.c')
-rw-r--r--common/block.c2
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);