From: Ye Bin Date: Mon, 4 Sep 2023 10:58:17 +0000 (+0800) Subject: jbd2: fix printk format type for 'io_block' in do_one_pass() X-Git-Tag: io_uring-6.7-2023-11-10~30^2~18 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=8b6b562121f1981315e76b6ae1f8a5cbbcf14bd7;p=linux-block.git 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 Reviewed-by: Jan Kara Link: https://lore.kernel.org/r/20230904105817.1728356-3-yebin10@huawei.com Signed-off-by: Theodore Ts'o --- diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c index 11380ff1fe51..0567f1aa189b 100644 --- a/fs/jbd2/recovery.c +++ b/fs/jbd2/recovery.c @@ -632,7 +632,7 @@ static int do_one_pass(journal_t *journal, success = err; printk(KERN_ERR "JBD2: IO error %d recovering " - "block %ld in log\n", + "block %lu in log\n", err, io_block); } else { unsigned long long blocknr;