summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index b309b6f8d8a..11ed4f6511e 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.59 2001/03/16 08:49:09 art Exp $ */
+/* $OpenBSD: init_main.c,v 1.60 2001/03/16 15:49:05 art Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -391,7 +391,7 @@ main(framep)
/* Mount the root file system. */
if (vfs_mountroot())
panic("cannot mount root");
- mountlist.cqh_first->mnt_flag |= MNT_ROOTFS;
+ CIRCLEQ_FIRST(&mountlist)->mnt_flag |= MNT_ROOTFS;
/* Get the vnode for '/'. Set filedesc0.fd_fd.fd_cdir to reference it. */
if (VFS_ROOT(mountlist.cqh_first, &rootvnode))