diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-08 02:10:55 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-08 02:10:55 +0000 |
commit | 2dabc4de9279bce902763e36ecd35589aabf09ff (patch) | |
tree | 929a738012d9bddd55162df484b6133139b50c3c /sys/arch/mvme68k | |
parent | e5a52378e4682e941ef468c1d927c14e9d8fb183 (diff) |
do that another panic fly away.
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(); /* |