mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 12:33:18 -04:00
bcachefs: Fix a format string warning
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
@@ -1216,7 +1216,7 @@ static int check_overlapping_extents(struct btree_trans *trans,
|
||||
if (ret)
|
||||
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));
|
||||
if ((ret = PTR_ERR_OR_ZERO(update)))
|
||||
goto err;
|
||||
|
||||
Reference in New Issue
Block a user