diff options
author | gnezdo <gnezdo@cvs.openbsd.org> | 2021-01-09 20:51:01 +0000 |
---|---|---|
committer | gnezdo <gnezdo@cvs.openbsd.org> | 2021-01-09 20:51:01 +0000 |
commit | 13b40d161ba7e6b47b27b7e4c9034ebb49a11864 (patch) | |
tree | cf38ed022016d6108277086dc795dad7c01cdf03 /sys/dev/wscons | |
parent | 52653cc5778b71fd434de44e0e46ab70f4511751 (diff) |
Revert mistaken commit: Stop wsmux_attach_sc race from anton@
Diffstat (limited to 'sys/dev/wscons')
-rw-r--r-- | sys/dev/wscons/wsmux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsmux.c b/sys/dev/wscons/wsmux.c index 6634c7bbe6e..b3080573836 100644 --- a/sys/dev/wscons/wsmux.c +++ b/sys/dev/wscons/wsmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmux.c,v 1.53 2021/01/09 20:45:55 gnezdo Exp $ */ +/* $OpenBSD: wsmux.c,v 1.54 2021/01/09 20:51:00 gnezdo Exp $ */ /* $NetBSD: wsmux.c,v 1.37 2005/04/30 03:47:12 augustss Exp $ */ /* @@ -762,7 +762,7 @@ wsmux_detach_sc_locked(struct wsmux_softc *sc, struct wsevsrc *me) (void)wsevsrc_set_display(me, NULL); } else #endif - if (me->me_evp != NULL) { + if (me->me_evp != NULL) { DPRINTF(("%s: close\n", __func__)); /* mux device is open, so close multiplexee */ (void)wsevsrc_close(me); |