aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2021-01-21 16:44:39 -0500
committerTheodore Ts'o <tytso@mit.edu>2021-01-21 16:44:39 -0500
commit0304717d0c2d73070c1a6a0deb49df2cdd70e28a (patch)
tree6e049a7b0231fba690c10950306753ca7789130a
parent7b8cf296b0317d4c7ff58f1d7a2810786a61588e (diff)
downloade2fsprogs-0304717d0c2d73070c1a6a0deb49df2cdd70e28a.tar.gz
debugfs: fix the printf specifier when dumping a fast commit block
Addresses-Coverity-Bug: 1472249 Addresses-Coverity-Bug: 1472253 Addresses-Coverity-Bug: 1472254 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--debugfs/logdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugfs/logdump.c b/debugfs/logdump.c
index 151be3e21..a94043f3b 100644
--- a/debugfs/logdump.c
+++ b/debugfs/logdump.c
@@ -536,7 +536,7 @@ static void dump_fc_block(FILE *out_file, char *buf, int blocksize,
(struct ext4_fc_add_range *)ext4_fc_tag_val(tl);
ex = (struct ext3_extent *)add_range->fc_ex;
fprintf(out_file,
- "tag %s, inode %d, lblk %d, pblk %ld, len %d\n",
+ "tag %s, inode %d, lblk %lu, pblk %llu, len %lu\n",
tag2str(tl->fc_tag),
le32_to_cpu(add_range->fc_ino),
le32_to_cpu(ex->ee_block),