f2fs_io: fix format mismatch for ino_t
PATCH 1/1 f2fs_io: fix format mismatch for ino_t
The ino_t type can be defined as either 'unsigned long' or 'unsigned long long'.
Signed-off-by Daniel Lee <[email protected]>
--- tools/f2fs_io/f2fs_io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/f2fs_io/f2fs_io.c +2 -2
@@ -2329,8 +2329,8 @@ static void do_test_lookup_perf(int argc, char **argv, const struct cmd_desc *cmif (!verb)continue ; -printf ("%-8lu %-10s %-9d %-8jd %s\n" , - dp->d_ino, +printf ("%-8llu %-10s %-9d %-8jd %s\n" , + (unsigned long long )dp->d_ino, (dp->d_type ==DT_REG ) ?"regular" : (dp->d_type ==DT_DIR ) ?"directory" : (dp->d_type == DT_FIFO) ? "FIFO" :
Signature · 8 lines
2.50.0.727.gbf7dc18ff4-goog _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel