diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-03-16 15:49:06 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-03-16 15:49:06 +0000 |
commit | cc3751f89ed4f61b0f7c34ba816585b18e66c5e6 (patch) | |
tree | 5901848620f1da8655cf3dd3cc55035ff690b779 | |
parent | 5b32da1a0988a628c3904380d2ad50b5d2ecdc5d (diff) |
Use CIRCLEQ macros for mountlist.
-rw-r--r-- | sys/kern/init_main.c | 4 |
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)) |