diff options
Diffstat (limited to 'sys')
-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 dd2b3cb6aab..a090fdfd798 100644 --- a/sys/dev/wscons/wsmux.c +++ b/sys/dev/wscons/wsmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmux.c,v 1.37 2019/01/27 11:59:30 anton Exp $ */ +/* $OpenBSD: wsmux.c,v 1.38 2019/01/27 16:24:00 anton Exp $ */ /* $NetBSD: wsmux.c,v 1.37 2005/04/30 03:47:12 augustss Exp $ */ /* @@ -412,7 +412,7 @@ wsmux_do_ioctl(struct device *dv, u_long cmd, caddr_t data, int flag, DPRINTF(("%s: add type=%d, no=%d\n", sc->sc_base.me_dv.dv_xname, d->type, d->idx)); if (d->idx < 0) - return (EINVAL); + return (ENXIO); switch (d->type) { #if NWSMOUSE > 0 case WSMUX_MOUSE: |