From 78999ca50f55e6ab609be97c3d9ca011ff83c284 Mon Sep 17 00:00:00 2001 From: Shen-Ta Hsieh Date: Mon, 18 Dec 2017 23:19:52 +0800 Subject: [PATCH] e2fsck: fix printf format %d on ext2_ino_t Signed-off-by: Shen-Ta Hsieh Signed-off-by: Theodore Ts'o --- e2fsck/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2fsck/super.c b/e2fsck/super.c index 47c89c5..5501c9e 100644 --- a/e2fsck/super.c +++ b/e2fsck/super.c @@ -204,7 +204,7 @@ static int release_inode_blocks(e2fsck_t ctx, ext2_ino_t ino, block_buf, release_inode_block, &pb); if (retval) { com_err("release_inode_blocks", retval, - _("while calling ext2fs_block_iterate for inode %d"), + _("while calling ext2fs_block_iterate for inode %u"), ino); return 1; } @@ -227,7 +227,7 @@ static int release_inode_blocks(e2fsck_t ctx, ext2_ino_t ino, } if (retval) { com_err("release_inode_blocks", retval, - _("while calling ext2fs_adjust_ea_refcount2 for inode %d"), + _("while calling ext2fs_adjust_ea_refcount2 for inode %u"), ino); return 1; } -- 1.8.3.1