summaryrefslogtreecommitdiff
path: root/sys/dev/wscons
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/wscons')
-rw-r--r--sys/dev/wscons/wsdisplay.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c
index d957afffa12..43e25fc10bd 100644
--- a/sys/dev/wscons/wsdisplay.c
+++ b/sys/dev/wscons/wsdisplay.c
@@ -666,6 +666,10 @@ wsdisplay_common_attach(struct wsdisplay_softc *sc, int console, int kbdmux,
#if NWSMUX > 0
struct wsmux_softc *mux;
+ /* XXX */
+ if (wsdisplay_console_device)
+ console = 0;
+
if (kbdmux >= 0)
mux = wsmux_getmux(kbdmux);
else