diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2006-11-06 19:06:07 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2006-11-06 19:06:07 +0000 |
| commit | 4f32adad48446d3ce891551a5c2c723ac6fdc739 (patch) | |
| tree | 3b61e7dafd6df844a0016b80ffe5edc00fa3a9b0 /sys/dev/syscons/syscons.c | |
| parent | 43593547a374d5e2ea9f9ba1075d4e0034a14053 (diff) | |
Notes
Diffstat (limited to 'sys/dev/syscons/syscons.c')
| -rw-r--r-- | sys/dev/syscons/syscons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c index 87ada19ff4aa..403f527e3262 100644 --- a/sys/dev/syscons/syscons.c +++ b/sys/dev/syscons/syscons.c @@ -2176,6 +2176,7 @@ sc_switch_scr(sc_softc_t *sc, u_int next_scr) DPRINTF(5, ("switch delayed\n")); return 0; } + sc->delayed_next_scr = 0; s = spltty(); cur_scp = sc->cur_scp; @@ -2320,7 +2321,6 @@ sc_switch_scr(sc_softc_t *sc, u_int next_scr) /* this is the start of vty switching process... */ ++sc->switch_in_progress; - sc->delayed_next_scr = 0; sc->old_scp = cur_scp; sc->new_scp = sc_get_stat(SC_DEV(sc, next_scr)); if (sc->new_scp == sc->old_scp) { |
