summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-06-06 21:21:13 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-06-06 21:21:13 +0000
commit327509e6fea9c6a074f4a710098e96a820b34db4 (patch)
tree4e4d48fbcfb67a307f4e36475308a660b08f048c /sys/arch
parentc7e90a02157bfe29d8b348b6dfd864b2f15e3132 (diff)
Call doshutdownhooks() in boot(). ok jj@ niklas@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amiga/amiga/machdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/amiga/amiga/machdep.c b/sys/arch/amiga/amiga/machdep.c
index 7dd3a14dc76..3a663dff189 100644
--- a/sys/arch/amiga/amiga/machdep.c
+++ b/sys/arch/amiga/amiga/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.44 2001/05/17 18:41:47 provos Exp $ */
+/* $OpenBSD: machdep.c,v 1.45 2001/06/06 21:21:12 miod Exp $ */
/* $NetBSD: machdep.c,v 1.95 1997/08/27 18:31:17 is Exp $ */
/*
@@ -844,6 +844,9 @@ boot(howto)
if (howto & RB_DUMP)
dumpsys();
+ /* Run any shutdown hooks. */
+ doshutdownhooks();
+
if (howto & RB_HALT) {
printf("System halted.\n\n");
asm(" stop #0x2700");