From: Christoph Hellwig Date: Thu, 8 Dec 2011 16:55:42 +0000 (+0000) Subject: repair: fix more incorrect printf formats X-Git-Tag: v3.1.8~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e686aa8c8e5a8a879373b2fc5e449ac28c518b5;p=thirdparty%2Fxfsprogs-dev.git repair: fix more incorrect printf formats Reported-by: Jakub Bogusz Signed-off-by: Christoph Hellwig --- diff --git a/repair/scan.c b/repair/scan.c index 668c389b5..fb58638c4 100644 --- a/repair/scan.c +++ b/repair/scan.c @@ -311,7 +311,7 @@ _("inode 0x%" PRIx64 " bmap block 0x%" PRIx64 " claimed, state is %d\n"), case XR_E_BAD_STATE: default: do_warn( -_("bad state %d, inode 0x%" PRIu64 " bmap block 0x%" PRIx64 "\n"), +_("bad state %d, inode %" PRIu64 " bmap block 0x%" PRIx64 "\n"), state, ino, bno); break; } @@ -388,7 +388,7 @@ _("out-of-order bmap key (file offset) in inode %" PRIu64 ", %s fork, fsbno %" P if (numrecs > mp->m_bmap_dmxr[1] || (isroot == 0 && numrecs < mp->m_bmap_dmnr[1])) { do_warn( -_("inode 0x%" PRIu64 " bad # of bmap records (%u, min - %u, max - %u)\n"), +_("inode %" PRIu64 " bad # of bmap records (%u, min - %u, max - %u)\n"), ino, numrecs, mp->m_bmap_dmnr[1], mp->m_bmap_dmxr[1]); return(1); }