diff options
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/mvme68k/machdep.c | 6 |
1 files changed, 5 insertions, 1 deletions
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(); /* |