diff options
author | Ye Bin <yebin10@huawei.com> | 2023-09-04 18:58:17 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-10-05 22:32:15 -0400 |
commit | 8b6b562121f1981315e76b6ae1f8a5cbbcf14bd7 (patch) | |
tree | 904f114d05ac898b45315803e3a2e5a572fc90e0 /fs/jbd2 | |
parent | 71cd5a5aa0607073adba3852739b7f8c22bc7b50 (diff) |
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>
Diffstat (limited to 'fs/jbd2')
-rw-r--r-- | fs/jbd2/recovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |