artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
299180c
)
don't mix this stuff with mashed potatoes.
author
mickey
<mickey@openbsd.org>
Wed, 8 May 1996 08:28:17 +0000
(08:28 +0000)
committer
mickey
<mickey@openbsd.org>
Wed, 8 May 1996 08:28:17 +0000
(08:28 +0000)
avoid panic at reboot.
sys/arch/pc532/pc532/machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/pc532/pc532/machdep.c
b/sys/arch/pc532/pc532/machdep.c
index
09d9d43
..
4cf8919
100644
(file)
--- a/
sys/arch/pc532/pc532/machdep.c
+++ b/
sys/arch/pc532/pc532/machdep.c
@@
-652,6
+652,11
@@
boot(howto)
}
boothowto = howto;
if ((howto&RB_NOSYNC) == 0 && waittime < 0) {
+ extern struct proc proc0;
+ /* defeat against panic on sync XXX */
+ if (curproc == NULL)
+ curproc = proc0;
+
waittime = 0;
vfs_shutdown();
/*