summaryrefslogtreecommitdiffstats
path: root/sys/fs/ext2fs/ext2_alloc.c
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2012-09-27 23:30:49 +0000
committermdf <mdf@FreeBSD.org>2012-09-27 23:30:49 +0000
commit394f27b845bb8f3ea95f4f172b46575d7240f824 (patch)
tree665f8539e299620f5cae33df5176ff1b0abbf6dc /sys/fs/ext2fs/ext2_alloc.c
parentf702d078aa3f620abff880ea809f1abe0beef434 (diff)
downloadFreeBSD-src-394f27b845bb8f3ea95f4f172b46575d7240f824.zip
FreeBSD-src-394f27b845bb8f3ea95f4f172b46575d7240f824.tar.gz
Fix up kernel sources to be ready for a 64-bit ino_t.
Original code by: Gleb Kurtsou
Diffstat (limited to 'sys/fs/ext2fs/ext2_alloc.c')
-rw-r--r--sys/fs/ext2fs/ext2_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ext2fs/ext2_alloc.c b/sys/fs/ext2fs/ext2_alloc.c
index 15d938c..7867a87 100644
--- a/sys/fs/ext2fs/ext2_alloc.c
+++ b/sys/fs/ext2fs/ext2_alloc.c
@@ -1026,8 +1026,8 @@ ext2_vfree(pvp, ino, mode)
fs = pip->i_e2fs;
ump = pip->i_ump;
if ((u_int)ino > fs->e2fs_ipg * fs->e2fs_gcount)
- panic("ext2_vfree: range: devvp = %p, ino = %d, fs = %s",
- pip->i_devvp, ino, fs->e2fs_fsmnt);
+ panic("ext2_vfree: range: devvp = %p, ino = %ju, fs = %s",
+ pip->i_devvp, (uintmax_t)ino, fs->e2fs_fsmnt);
cg = ino_to_cg(fs, ino);
error = bread(pip->i_devvp,
OpenPOWER on IntegriCloud