summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/tmpfs')
-rw-r--r--sys/fs/tmpfs/tmpfs_vfsops.c3
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);
OpenPOWER on IntegriCloud