artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
198087a
)
fix the panic at reboot.
author
mickey
<mickey@openbsd.org>
Wed, 8 May 1996 01:43:18 +0000
(
01:43
+0000)
committer
mickey
<mickey@openbsd.org>
Wed, 8 May 1996 01:43:18 +0000
(
01:43
+0000)
sys/arch/hp300/hp300/machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/hp300/hp300/machdep.c
b/sys/arch/hp300/hp300/machdep.c
index
061afa4
..
216486e
100644
(file)
--- a/
sys/arch/hp300/hp300/machdep.c
+++ b/
sys/arch/hp300/hp300/machdep.c
@@
-1141,6
+1141,10
@@
boot(howto)
boothowto = howto;
if ((howto & RB_NOSYNC) == 0 && waittime < 0) {
+ extern struct proc proc0;
+ /* make panic at reboot go away */
+ if (curproc == NULL)
+ curproc = &proc0;
waittime = 0;
vfs_shutdown();
/*