diff options
author | mdf <mdf@FreeBSD.org> | 2012-09-27 23:30:58 +0000 |
---|---|---|
committer | mdf <mdf@FreeBSD.org> | 2012-09-27 23:30:58 +0000 |
commit | 908993ebfad03e82e8f3038681a0041f4766098e (patch) | |
tree | 6281f7a014e06c760f1d559e9fa052807acb0e3a /sbin/fsck_ffs/pass4.c | |
parent | 394f27b845bb8f3ea95f4f172b46575d7240f824 (diff) | |
download | FreeBSD-src-908993ebfad03e82e8f3038681a0041f4766098e.zip FreeBSD-src-908993ebfad03e82e8f3038681a0041f4766098e.tar.gz |
Fix fsck_ffs build with a 64-bit ino_t.
Original code by: Gleb Kurtsou
Diffstat (limited to 'sbin/fsck_ffs/pass4.c')
-rw-r--r-- | sbin/fsck_ffs/pass4.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/fsck_ffs/pass4.c b/sbin/fsck_ffs/pass4.c index 4b2af7b..80a32c1 100644 --- a/sbin/fsck_ffs/pass4.c +++ b/sbin/fsck_ffs/pass4.c @@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$"); #include <ufs/ffs/fs.h> #include <err.h> +#include <stdint.h> #include <string.h> #include "fsck.h" @@ -114,8 +115,9 @@ pass4(void) break; default: - errx(EEXIT, "BAD STATE %d FOR INODE I=%d", - inoinfo(inumber)->ino_state, inumber); + errx(EEXIT, "BAD STATE %d FOR INODE I=%ju", + inoinfo(inumber)->ino_state, + (uintmax_t)inumber); } } } |