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/pass1.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/pass1.c')
-rw-r--r-- | sbin/fsck_ffs/pass1.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c index fa30bb2..72f721e 100644 --- a/sbin/fsck_ffs/pass1.c +++ b/sbin/fsck_ffs/pass1.c @@ -99,8 +99,9 @@ pass1(void) if (!rebuildcg && sblock.fs_magic == FS_UFS2_MAGIC) { inosused = cgrp.cg_initediblk; if (inosused > sblock.fs_ipg) { - pfatal("%s (%d > %d) %s %d\nReset to %d\n", - "Too many initialized inodes", inosused, + pfatal("%s (%ju > %d) %s %d\nReset to %d\n", + "Too many initialized inodes", + (uintmax_t)inosused, sblock.fs_ipg, "in cylinder group", c, sblock.fs_ipg); inosused = sblock.fs_ipg; |