diff --git a/fsck/inject.c b/fsck/inject.c index fab0e964..fed52691 100644 --- a/fsck/inject.c +++ b/fsck/inject.c @@ -434,7 +434,7 @@ static int inject_cp(struct f2fs_sb_info *sbi, struct inject_option *opt) } if (!strcmp(opt->mb, "checkpoint_ver")) { - MSG(0, "Info: inject checkpoint_ver of cp %d: 0x%llx -> 0x%lx\n", + MSG(0, "Info: inject checkpoint_ver of cp %d: 0x%llx -> 0x%llx\n", opt->cp, get_cp(checkpoint_ver), (u64)opt->val); set_cp(checkpoint_ver, (u64)opt->val); } else if (!strcmp(opt->mb, "ckpt_flags")) { @@ -512,7 +512,7 @@ static int inject_nat(struct f2fs_sb_info *sbi, struct inject_option *opt) int ret; if (!IS_VALID_NID(sbi, opt->nid)) { - ERR_MSG("Invalid nid %u range [%u:%lu]\n", opt->nid, 0, + ERR_MSG("Invalid nid %u range [%u:%llu]\n", opt->nid, 0, NAT_ENTRY_PER_BLOCK * ((get_sb(segment_count_nat) << 1) << sbi->log_blocks_per_seg));