From: mickey Date: Wed, 8 May 1996 02:10:54 +0000 (+0000) Subject: do that another panic fly away. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5059811cec080dd52e9da017fe50ffbe939d70d9;p=openbsd do that another panic fly away. --- diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c index b37ee9a6e56..d10e81afbe6 100644 --- a/sys/arch/mvme68k/mvme68k/machdep.c +++ b/sys/arch/mvme68k/mvme68k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.9 1996/05/06 21:55:31 deraadt Exp $ */ +/* $OpenBSD: machdep.c,v 1.10 1996/05/08 02:10:54 mickey Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -1089,6 +1089,10 @@ boot(howto) boothowto = howto; if ((howto&RB_NOSYNC) == 0 && waittime < 0) { + extern struct proc proc0; + /* do that another panic fly away */ + if (curproc == NULL) + curproc = &proc0; waittime = 0; vfs_shutdown(); /*