diff options
Diffstat (limited to 'sys/arch/sparc/sparc/machdep.c')
-rw-r--r-- | sys/arch/sparc/sparc/machdep.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c index 05ace2756b9..03f9989c08f 100644 --- a/sys/arch/sparc/sparc/machdep.c +++ b/sys/arch/sparc/sparc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.97 2004/02/19 18:46:18 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.98 2004/03/10 23:02:54 tom Exp $ */ /* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */ /* @@ -682,7 +682,9 @@ boot(howto) /* If system is cold, just halt. */ if (cold) { - howto |= RB_HALT; + /* (Unless the user explicitly asked for reboot.) */ + if ((howto & RB_USERREQ) == 0) + howto |= RB_HALT; goto haltsys; } |