artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e356c20
)
fix panic at reboot.
author
mickey
<mickey@openbsd.org>
Wed, 8 May 1996 09:47:40 +0000
(09:47 +0000)
committer
mickey
<mickey@openbsd.org>
Wed, 8 May 1996 09:47:40 +0000
(09:47 +0000)
sys/arch/vax/vax/machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/vax/vax/machdep.c
b/sys/arch/vax/vax/machdep.c
index
1daedbd
..
f00e302
100644
(file)
--- a/
sys/arch/vax/vax/machdep.c
+++ b/
sys/arch/vax/vax/machdep.c
@@
-530,6
+530,10
@@
boot(howto)
{
showto = howto;
if ((howto & RB_NOSYNC) == 0 && waittime < 0) {
+ extern struct proc proc0;
+ /* allow safe curproc referencies */
+ if (curproc == NULL)
+ curproc = &proc0;
waittime = 0;
vfs_shutdown();
/*