diff options
author | mdf <mdf@FreeBSD.org> | 2012-09-27 23:30:49 +0000 |
---|---|---|
committer | mdf <mdf@FreeBSD.org> | 2012-09-27 23:30:49 +0000 |
commit | 394f27b845bb8f3ea95f4f172b46575d7240f824 (patch) | |
tree | 665f8539e299620f5cae33df5176ff1b0abbf6dc /sys/fs/tmpfs | |
parent | f702d078aa3f620abff880ea809f1abe0beef434 (diff) | |
download | FreeBSD-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/tmpfs')
-rw-r--r-- | sys/fs/tmpfs/tmpfs_vfsops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vfsops.c b/sys/fs/tmpfs/tmpfs_vfsops.c index a08dafa..445112d 100644 --- a/sys/fs/tmpfs/tmpfs_vfsops.c +++ b/sys/fs/tmpfs/tmpfs_vfsops.c @@ -247,7 +247,8 @@ tmpfs_mount(struct mount *mp) free(tmp, M_TMPFSMNT); return error; } - KASSERT(root->tn_id == 2, ("tmpfs root with invalid ino: %d", root->tn_id)); + KASSERT(root->tn_id == 2, + ("tmpfs root with invalid ino: %ju", (uintmax_t)root->tn_id)); tmp->tm_root = root; MNT_ILOCK(mp); |