summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-08 02:03:15 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-05-08 02:03:15 +0000
commite5a52378e4682e941ef468c1d927c14e9d8fb183 (patch)
tree749394d5147f52a0bfb92d3804d4bb677e0c8f66 /sys
parent543878160d1b97cd7b0a394bee1271a74df965d7 (diff)
kill the panic at the boot().
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mac68k/mac68k/machdep.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c
index ba2dcf57466..e83c3415da9 100644
--- a/sys/arch/mac68k/mac68k/machdep.c
+++ b/sys/arch/mac68k/mac68k/machdep.c
@@ -818,6 +818,11 @@ boot(howto)
boothowto = howto;
if ((howto & RB_NOSYNC) == 0 && waittime < 0) {
+ extern struct proc proc0;
+ /* kill the panic on that boot away */
+ if (curproc == NULL)
+ curproc = &proc0;
+
waittime = 0;
/*