The ino_t type can be defined as either 'unsigned long' or
'unsigned long long'.

Signed-off-by: Daniel Lee <chul...@google.com>
---
 tools/f2fs_io/f2fs_io.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/f2fs_io/f2fs_io.c b/tools/f2fs_io/f2fs_io.c
index 8e81ba9..595d1e6 100644
--- a/tools/f2fs_io/f2fs_io.c
+++ b/tools/f2fs_io/f2fs_io.c
@@ -2329,8 +2329,8 @@ static void do_test_lookup_perf(int argc, char **argv, 
const struct cmd_desc *cm
                if (!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" :
-- 
2.50.0.727.gbf7dc18ff4-goog



_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to