Commit 0b9fbce2 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Fix a format string warning

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent ec14fc60
...@@ -1216,7 +1216,7 @@ static int check_overlapping_extents(struct btree_trans *trans, ...@@ -1216,7 +1216,7 @@ static int check_overlapping_extents(struct btree_trans *trans,
if (ret) if (ret)
break; break;
if (fsck_err(c, buf.buf)) { if (fsck_err(c, "%s", buf.buf)) {
struct bkey_i *update = bch2_trans_kmalloc(trans, bkey_bytes(k.k)); struct bkey_i *update = bch2_trans_kmalloc(trans, bkey_bytes(k.k));
if ((ret = PTR_ERR_OR_ZERO(update))) if ((ret = PTR_ERR_OR_ZERO(update)))
goto err; goto err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment