]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
bcache: Correct printf()-style format length modifier
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 29 Jul 2013 10:45:05 +0000 (12:45 +0200)
committerKent Overstreet <kmo@daterainc.com>
Mon, 29 Jul 2013 19:06:46 +0000 (12:06 -0700)
drivers/md/bcache/btree.c: In function ‘bch_btree_node_read’:
drivers/md/bcache/btree.c:259: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 3 has type ‘size_t’

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/btree.c

index ee372884c405444886671901e45c3834626f383a..60908de2af5f157a02f231014addb7d9fc20ef7f 100644 (file)
@@ -255,7 +255,7 @@ void bch_btree_node_read(struct btree *b)
 
        return;
 err:
-       bch_cache_set_error(b->c, "io error reading bucket %lu",
+       bch_cache_set_error(b->c, "io error reading bucket %zu",
                            PTR_BUCKET_NR(b->c, &b->key, 0));
 }