Whamcloud - gitweb
debugfs: fix printf format %d on ext2_ino_t
authorShen-Ta Hsieh <ibmibmibm.tw@gmail.com>
Mon, 18 Dec 2017 15:18:52 +0000 (23:18 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 2 Jan 2018 04:51:36 +0000 (23:51 -0500)
Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debugfs/debugfs.c

index 6ea14c3..91ededf 100644 (file)
@@ -2125,7 +2125,7 @@ void do_idump(int argc, char *argv[])
        err = ext2fs_read_inode_full(current_fs, ino,
                                     (struct ext2_inode *)buf, isize);
        if (err) {
-               com_err(argv[0], err, "while reading inode %d", ino);
+               com_err(argv[0], err, "while reading inode %u", ino);
                goto err;
        }