Skip to content

Commit a4c072c

Browse files
author
Jaegeuk Kim
committed
test
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
1 parent 43d8b2f commit a4c072c

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

mkfs/f2fs_format.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,8 @@ 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: %lu)\n",
392-
get_sb(segment0_blkaddr),
393-
(unsigned long)c.zone_blocks);
391+
MSG(1, "\tError: Unaligned segment0 start (%u) for zoned LU (zone_blocks: %"PRIu64")\n",
392+
get_sb(segment0_blkaddr), c.zone_blocks);
394393
return -1;
395394
} else if (c.ndevs > 1 &&
396395
(c.devices[1].start_blkaddr - get_sb(segment0_blkaddr)) % c.zone_blocks) {
@@ -400,10 +399,9 @@ static int f2fs_prepare_super_block(void)
400399
* LU should be aligned to the zone size, starting from
401400
* segment0.
402401
*/
403-
MSG(1, "\tError: Unaligned start (%lu) for zoned LU from segment0 (%u) (zone_blocks: %lu)\n",
402+
MSG(1, "\tError: Unaligned start (%"PRIu64") for zoned LU from segment0 (%u) (zone_blocks: %"PRIu64")\n",
404403
c.devices[1].start_blkaddr,
405-
get_sb(segment0_blkaddr),
406-
(unsigned long)c.zone_blocks);
404+
get_sb(segment0_blkaddr), c.zone_blocks);
407405
return -1;
408406
}
409407
}

0 commit comments

Comments
 (0)