aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authorKazutaka YOKOTA <yokota@FreeBSD.org>1999-11-28 07:44:11 +0000
committerKazutaka YOKOTA <yokota@FreeBSD.org>1999-11-28 07:44:11 +0000
commit102adbe199864bff255d417377a1ffea0fe9d5da (patch)
treef348016fbe18a69f4afe803b2e35c388f61ff085 /sys/dev/syscons
parentc9d6883b93b18b9593b28e56ef945efcae88b405 (diff)
Notes
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/syscons.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 0bf5e3721ad2..48ac62f30652 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -2129,14 +2129,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) {