From 3dd5f8b400a27c2a14945a1c09d5585aee3e4dd8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 30 Oct 2012 07:38:30 +0900 Subject: [PATCH] use proper priu64 type to be portable Signed-off-by: Mike Frysinger --- mkfs/f2fs_format.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c index ff52c23..f81dba4 100644 --- a/mkfs/f2fs_format.c +++ b/mkfs/f2fs_format.c @@ -10,6 +10,7 @@ */ #define _LARGEFILE64_SOURCE +#include #include #include #include @@ -273,7 +274,8 @@ static int8_t f2fs_get_device_info() } printf("Info: sector size = %u\n", f2fs_params.sector_size); - printf("Info: total sectors = %llu (in 512bytes)\n", f2fs_params.total_sectors); + printf("Info: total sectors = %"PRIu64" (in 512bytes)\n", + f2fs_params.total_sectors); if (f2fs_params.total_sectors < (F2FS_MIN_VOLUME_SIZE / DEFAULT_SECTOR_SIZE)) { printf("Error: Min volume size supported is %d\n", -- 2.7.4