diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/machdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/machdep.c b/sys/arch/i386/i386/machdep.c index 674f069b821..d1610181cc3 100644 --- a/sys/arch/i386/i386/machdep.c +++ b/sys/arch/i386/i386/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.180.2.1 1995/10/15 22:11:38 mycroft Exp $ */ +/* $NetBSD: machdep.c,v 1.182 1995/12/14 18:31:20 ghudson Exp $ */ /*- * Copyright (c) 1993, 1994, 1995 Charles M. Hannum. All rights reserved. @@ -694,6 +694,7 @@ boot(howto) } splhigh(); if (howto & RB_HALT) { + doshutdownhooks(); printf("\n"); printf("The operating system has halted.\n"); printf("Please press any key to reboot.\n\n"); @@ -704,8 +705,8 @@ boot(howto) dumppcb.pcb_cr3 = rcr3(); dumpsys(); } + doshutdownhooks(); } - doshutdownhooks(); printf("rebooting...\n"); cpu_reset(); for(;;) ; |