diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-06-28 05:28:17 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:10:05 +0200 |
commit | 0b9fbce235c3ae545b6f31b8f2de2de030689595 (patch) | |
tree | 96eb86c93d55f678d760ec8571801c93b2a75370 | |
parent | bcachefs: Kill JOURNAL_WATERMARK (diff) | |
download | linux-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.c | 2 |
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; |