artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b3ef3e
)
fix panic at reboot.
author
mickey
<mickey@openbsd.org>
Wed, 8 May 1996 08:42:51 +0000
(08:42 +0000)
committer
mickey
<mickey@openbsd.org>
Wed, 8 May 1996 08:42:51 +0000
(08:42 +0000)
sys/arch/pmax/pmax/machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/pmax/pmax/machdep.c
b/sys/arch/pmax/pmax/machdep.c
index
d7ff865
..
a7c6523
100644
(file)
--- a/
sys/arch/pmax/pmax/machdep.c
+++ b/
sys/arch/pmax/pmax/machdep.c
@@
-1067,6
+1067,10
@@
boot(howto)
boothowto = howto;
if ((howto & RB_NOSYNC) == 0 && waittime < 0) {
+ extern struct proc proc0;
+ /* avoid panic at boot XXX */
+ if (curproc == NULL)
+ curproc = &proc0;
/*
* Synchronize the disks....
*/