diff options
-rw-r--r-- | sys/arch/pmax/pmax/machdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arch/pmax/pmax/machdep.c b/sys/arch/pmax/pmax/machdep.c index d7ff865d080..a7c652305f7 100644 --- 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.... */ |