Skip to content

Commit 8b6b562

Browse files
Ye Bintytso
authored andcommitted
jbd2: fix printk format type for 'io_block' in do_one_pass()
'io_block' is unsinged long but print it by '%ld'. Signed-off-by: Ye Bin <yebin10@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://lore.kernel.org/r/20230904105817.1728356-3-yebin10@huawei.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
1 parent 71cd5a5 commit 8b6b562

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/jbd2/recovery.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ static int do_one_pass(journal_t *journal,
632632
success = err;
633633
printk(KERN_ERR
634634
"JBD2: IO error %d recovering "
635-
"block %ld in log\n",
635+
"block %lu in log\n",
636636
err, io_block);
637637
} else {
638638
unsigned long long blocknr;

0 commit comments

Comments
 (0)