summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/debug.c
diff options
context:
space:
mode:
authorKent Overstreet <koverstreet@google.com>2013-03-26 13:49:02 -0700
committerKent Overstreet <koverstreet@google.com>2013-04-08 13:33:48 -0700
commitc19ed23a0b1848eca6b6f22c1ee233abe54d37f9 (patch)
tree331a73cb1e6a5e1dc64ab3756dba779cf8a294a5 /drivers/md/bcache/debug.c
parent169ef1cf6171d35550fef85645b83b960e241cff (diff)
downloadlinux-c19ed23a0b1848eca6b6f22c1ee233abe54d37f9.tar.bz2
bcache: Sparse fixes
Signed-off-by: Kent Overstreet <koverstreet@google.com>
Diffstat (limited to 'drivers/md/bcache/debug.c')
-rw-r--r--drivers/md/bcache/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/debug.c b/drivers/md/bcache/debug.c
index 732234d9ec04..24a5a2fed6d3 100644
--- a/drivers/md/bcache/debug.c
+++ b/drivers/md/bcache/debug.c
@@ -82,7 +82,7 @@ struct keyprint_hack bch_pbtree(const struct btree *b)
{
struct keyprint_hack r;
- snprintf(r.s, 40, "%li level %i/%i", PTR_BUCKET_NR(b->c, &b->key, 0),
+ snprintf(r.s, 40, "%zu level %i/%i", PTR_BUCKET_NR(b->c, &b->key, 0),
b->level, b->c->root ? b->c->root->level : -1);
return r;
}