summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/suj.c
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2012-09-27 23:31:06 +0000
committermdf <mdf@FreeBSD.org>2012-09-27 23:31:06 +0000
commite76336791156e518c57a0aa274e1652774931971 (patch)
tree51028e29caefe265e99cac58ecb1cce380def92e /sbin/fsck_ffs/suj.c
parent908993ebfad03e82e8f3038681a0041f4766098e (diff)
downloadFreeBSD-src-e76336791156e518c57a0aa274e1652774931971.zip
FreeBSD-src-e76336791156e518c57a0aa274e1652774931971.tar.gz
Fix sbin/ build with a 64-bit ino_t.
Original code by: Gleb Kurtsou
Diffstat (limited to 'sbin/fsck_ffs/suj.c')
-rw-r--r--sbin/fsck_ffs/suj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/fsck_ffs/suj.c b/sbin/fsck_ffs/suj.c
index 6fb1804..1ef5d51 100644
--- a/sbin/fsck_ffs/suj.c
+++ b/sbin/fsck_ffs/suj.c
@@ -1945,7 +1945,7 @@ ino_unlinked(void)
if (DIP(ip, di_nlink) == 0) {
if (debug)
printf("Freeing unlinked ino %ju mode %o\n",
- ino, mode);
+ (uintmax_t)ino, mode);
ino_reclaim(ip, ino, mode);
} else if (debug)
printf("Skipping ino %ju mode %o with link %d\n",
OpenPOWER on IntegriCloud