f2fs_io: fix build warning
PATCH 1/1 f2fs_io: fix build warning
external/f2fs-tools/tools/f2fs_io/f2fs_io.c:1452:3: error: format specifies type 'unsigned long' but the argument has type 'u64' (aka 'unsigned long long') [-Werror,-Wformat]
range.start, range.len, ret);
^~~~~~~~~~~
external/f2fs-tools/tools/f2fs_io/f2fs_io.c:1452:16: error: format specifies type 'unsigned long' but the argument has type 'u64' (aka 'unsigned long long') [-Werror,-Wformat]
range.start, range.len, ret);
^~~~~~~~~2 errors generated.
20:35:27 ninja failed with: exit status 1
Signed-off-by Jaegeuk Kim <[email protected]>
--- tools/f2fs_io/f2fs_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/f2fs_io/f2fs_io.c +1 -1
@@ -1447,7 +1447,7 @@ static void do_gc_range(int argc, char **argv, const struct cmd_desc *cmd)die_errno ("F2FS_IOC_GARBAGE_COLLECT_RANGE failed" ); } -printf ("trigger %s gc_range [%lu, %lu] ret=%d\n" , +printf ("trigger %s gc_range [%" PRIu64", %" PRIu64"] ret=%d\n" , range.sync ?"synchronous" :"asynchronous" , range.start, range.len, ret);exit (0 );
Signature · 8 lines
2.41.0.255.g8b1d071c50-goog _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel