summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-06-28 05:28:17 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:10:05 +0200
commit0b9fbce235c3ae545b6f31b8f2de2de030689595 (patch)
tree96eb86c93d55f678d760ec8571801c93b2a75370
parentbcachefs: Kill JOURNAL_WATERMARK (diff)
downloadlinux-0b9fbce235c3ae545b6f31b8f2de2de030689595.tar.xz
linux-0b9fbce235c3ae545b6f31b8f2de2de030689595.zip
bcachefs: Fix a format string warning
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r--fs/bcachefs/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fsck.c b/fs/bcachefs/fsck.c
index 7af65030f9d8..674018a58de5 100644
--- a/fs/bcachefs/fsck.c
+++ b/fs/bcachefs/fsck.c
@@ -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;