aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>1999-11-28 08:57:22 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>1999-11-28 08:57:22 +0000
commit9f9d09e94bc34d98743a706f1b79ab0443ae8993 (patch)
tree9b180fedb50d12c209ba8b2a2a36000c134fb544 /sys
parent313fce1d93e5f0597618fed08fad6e31b069944a (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/pc98/syscons.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pc98/pc98/syscons.c b/sys/pc98/pc98/syscons.c
index 6fa015b97c88..2b6ba768ed09 100644
--- a/sys/pc98/pc98/syscons.c
+++ b/sys/pc98/pc98/syscons.c
@@ -2127,14 +2127,14 @@ switch_scr(sc_softc_t *sc, u_int next_scr)
case 4:
default:
/*
- * Clear the flag and force the previous switch to finish,
- * but return now with error.
+ * Act as if the controlling program returned
+ * VT_FALSE.
*/
DPRINTF(5, ("force reset WAIT_REL, "));
sc->cur_scp->status &= ~SWITCH_WAIT_REL;
- s = do_switch_scr(sc, s);
+ sc->switch_in_progress = 0;
splx(s);
- DPRINTF(5, ("force finishing previous switch\n"));
+ DPRINTF(5, ("act as if VT_FALSE was seen\n"));
return EINVAL;
}
} else if (sc->cur_scp->status & SWITCH_WAIT_ACQ) {