Index | Thread | Search

From:
Antoni Postola <antonipostola@gmail.com>
Subject:
[PATCH] fix ioctl call listed in wsmouse(4)
To:
tech@openbsd.org
Date:
Sat, 4 Apr 2026 20:58:12 +0100

Download raw body.

Thread
  • Antoni Postola:

    [PATCH] fix ioctl call listed in wsmouse(4)

I have found a small mistake in the wsmouse(4) man page.
In the ioctl section, it lists 'WSKBDIO_GTYPE' instead of 'WSMOUSEIO_GTYPE'.

The diff below fixes this:

Index: wsmouse.4
===================================================================
RCS file: /cvs/src/share/man/man4/wsmouse.4,v
diff -u -p -u -r1.25 wsmouse.4
--- wsmouse.4 16 Aug 2025 11:28:25 -0000 1.25
+++ wsmouse.4 4 Apr 2026 19:40:20 -0000
@@ -170,7 +170,7 @@ driver or by devices which use it.
 Their definitions are found in
 .Pa dev/wscons/wsconsio.h .
 .Bl -tag -width Dv
-.It Dv WSKBDIO_GTYPE
+.It Dv WSMOUSEIO_GTYPE
 Get the mouse or device type.
 .It Dv WSMOUSEIO_SRES Pq Vt "int"
 Set the resolution of the pointer.