diff options
-rw-r--r-- | sys/arch/atari/atari/machdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arch/atari/atari/machdep.c b/sys/arch/atari/atari/machdep.c index 375429a11a7..3b0d07e9d89 100644 --- 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(); |