mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Sync with sys/dev/syscons/syscons.c revision 1.327.
This commit is contained in:
parent
313fce1d93
commit
9f9d09e94b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53818
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user