Merged from sys/dev/syscons/syscons.c revision 1.396.

This commit is contained in:
Yoshihiro Takahashi 2003-03-09 10:18:15 +00:00
parent 947878824d
commit 26db0f997b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112033

View File

@ -1537,6 +1537,10 @@ sccndbctl(struct consdev *cd, int on)
&& sc_console->sc->cur_scp->smode.mode == VT_AUTO
&& sc_console->smode.mode == VT_AUTO) {
++debugger; /* XXX */
#ifdef DDB
/* unlock vty switching */
sc_console->sc->flags &= ~SC_SCRN_VTYLOCK;
#endif
sc_switch_scr(sc_console->sc, sc_console->index);
--debugger; /* XXX */
}