artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
208056b
)
fix the panic on reboot.
author
mickey
<mickey@openbsd.org>
Wed, 8 May 1996 01:35:13 +0000
(
01:35
+0000)
committer
mickey
<mickey@openbsd.org>
Wed, 8 May 1996 01:35:13 +0000
(
01:35
+0000)
sys/arch/atari/atari/machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/atari/atari/machdep.c
b/sys/arch/atari/atari/machdep.c
index
375429a
..
3b0d07e
100644
(file)
--- a/
sys/arch/atari/atari/machdep.c
+++ b/
sys/arch/atari/atari/machdep.c
@@
-763,6
+763,10
@@
void
bootsync(void)
{
if (waittime < 0) {
+ extern struct proc proc0;
+ /* defeat against panic in boot */
+ if (curproc == NULL)
+ curproc = &proc0;
waittime = 0;
vfs_shutdown();