From: mickey Date: Wed, 8 May 1996 02:03:14 +0000 (+0000) Subject: kill the panic at the boot(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f1c0f39f38230db3a9f215268fb5f45a97c15319;p=openbsd kill the panic at the boot(). --- 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; /*