summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorart <art@openbsd.org>2001-03-16 15:49:05 +0000
committerart <art@openbsd.org>2001-03-16 15:49:05 +0000
commit6e7f3dbd4bddd4efe17c479fd0512c1542407f26 (patch)
treed148daee9afc01ea17794b28d94742d0c8d56847 /sys/kern/init_main.c
parentAdd ssh files; Phil.Pennock@globnix.org (diff)
downloadwireguard-openbsd-6e7f3dbd4bddd4efe17c479fd0512c1542407f26.tar.xz
wireguard-openbsd-6e7f3dbd4bddd4efe17c479fd0512c1542407f26.zip
Use CIRCLEQ macros for mountlist.
Diffstat (limited to 'sys/kern/init_main.c')
-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))