From 5059811cec080dd52e9da017fe50ffbe939d70d9 Mon Sep 17 00:00:00 2001 From: mickey Date: Wed, 8 May 1996 02:10:54 +0000 Subject: [PATCH] do that another panic fly away. --- sys/arch/mvme68k/mvme68k/machdep.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(); /* -- 2.20.1