diff options
-rw-r--r-- | sys/arch/hp300/hp300/machdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arch/hp300/hp300/machdep.c b/sys/arch/hp300/hp300/machdep.c index 061afa4d7b0..216486eeafb 100644 --- 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(); /* |