From e5a52378e4682e941ef468c1d927c14e9d8fb183 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 8 May 1996 02:03:15 +0000 Subject: kill the panic at the boot(). --- sys/arch/mac68k/mac68k/machdep.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys') 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; /* -- cgit v1.2.3