kill the panic at the boot().
authormickey <mickey@openbsd.org>
Wed, 8 May 1996 02:03:14 +0000 (02:03 +0000)
committermickey <mickey@openbsd.org>
Wed, 8 May 1996 02:03:14 +0000 (02:03 +0000)
sys/arch/mac68k/mac68k/machdep.c

index ba2dcf5..e83c341 100644 (file)
@@ -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;
 
                /*