summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-09-18 17:25:25 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-09-18 17:25:25 +0000
commit036afd85d550b97de491757043bafe777c283d8b (patch)
tree20ddd0cf76a9e653671e75032852374f888ff864 /sys/arch
parent3fe5597002f7cda094eb4efec46891725618327f (diff)
make sure mountroot_hook list is initialized
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/sparc64/autoconf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/autoconf.c b/sys/arch/sparc64/sparc64/autoconf.c
index 68179d7732a..506c7012c61 100644
--- a/sys/arch/sparc64/sparc64/autoconf.c
+++ b/sys/arch/sparc64/sparc64/autoconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.c,v 1.7 2001/08/31 15:12:05 jason Exp $ */
+/* $OpenBSD: autoconf.c,v 1.8 2001/09/18 17:25:24 jason Exp $ */
/* $NetBSD: autoconf.c,v 1.51 2001/07/24 19:32:11 eeh Exp $ */
/*
@@ -505,6 +505,9 @@ cpu_configure()
extern struct user *proc0paddr; /* XXX see below */
#endif
+ /* Initialize the mountroot_hook list. */
+ LIST_INIT(&mrh_list);
+
/* build the bootpath */
bootpath_build();