Message ID | 20240220124537.11531-3-chao@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [f2fs-dev,1/3] f2fs-tools: remove obsolete fields in struct f2fs_sb_info | expand |
diff --git a/fsck/fsck.c b/fsck/fsck.c index 14a9628..a42b597 100644 --- a/fsck/fsck.c +++ b/fsck/fsck.c @@ -1253,8 +1253,8 @@ check: } if (i_blocks != *blk_cnt) { - ASSERT_MSG("ino: 0x%x has i_blocks: %08"PRIx64", " - "but has %u blocks", + ASSERT_MSG("ino: 0x%x has i_blocks: 0x%08"PRIx64", " + "but has 0x%x blocks", nid, i_blocks, *blk_cnt); if (c.fix_on) { node_blk->i.i_blocks = cpu_to_le64(*blk_cnt);
Otherwise, it will waste time to convert for comparison. Signed-off-by: Chao Yu <chao@kernel.org> --- fsck/fsck.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)