Skip to content

Commit 1f8fd33

Browse files
author
Jaegeuk Kim
committed
test
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
1 parent 56998f3 commit 1f8fd33

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

mkfs/f2fs_format.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,9 @@ static int f2fs_prepare_super_block(void)
388388
* With a sole zoned LU, segment0 start should be
389389
* aligned at the zone.
390390
*/
391-
MSG(1, "\tError: Unaligned segment0 start (%u) for zoned LU (zone_blocks: %llu)\n",
392-
get_sb(segment0_blkaddr), c.zone_blocks);
391+
MSG(1, "\tError: Unaligned segment0 start (%u) for zoned LU (zone_blocks: %lu)\n",
392+
get_sb(segment0_blkaddr),
393+
(unsigned long)c.zone_blocks);
393394
return -1;
394395
} else if (c.ndevs > 1 &&
395396
(c.devices[1].start_blkaddr - get_sb(segment0_blkaddr)) % c.zone_blocks) {
@@ -399,9 +400,10 @@ static int f2fs_prepare_super_block(void)
399400
* LU should be aligned to the zone size, starting from
400401
* segment0.
401402
*/
402-
MSG(1, "\tError: Unaligned start (%lu) for zoned LU from segment0 (%u) (zone_blocks: %llu)\n",
403+
MSG(1, "\tError: Unaligned start (%lu) for zoned LU from segment0 (%u) (zone_blocks: %lu)\n",
403404
c.devices[1].start_blkaddr,
404-
get_sb(segment0_blkaddr), c.zone_blocks);
405+
get_sb(segment0_blkaddr),
406+
(unsigned long)c.zone_blocks);
405407
return -1;
406408
}
407409
}

0 commit comments

Comments
 (0)