summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-03-08 10:33:11 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-03-08 10:33:11 +0000
commitfb92273bdcd957dc95b2b6bfcc4dad4d7d946bae (patch)
tree857bf4b7207179e792209215c70daf9b5e686691 /sys/kern/init_main.c
parent107a6eaf0a3b3d446a0c0d3effb973c364f39da0 (diff)
Notes
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 781666696600..e847534ab92b 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -487,6 +487,8 @@ start_init(void *dummy)
td = curthread;
p = td->td_proc;
+ vfs_mountroot(NULL);
+
/* Get the vnode for '/'. Set p->p_fd->fd_cdir to reference it. */
if (VFS_ROOT(TAILQ_FIRST(&mountlist), &rootvnode))
panic("cannot find root vnode");