diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2019-11-06 20:25:15 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2019-11-06 20:25:15 +0000 |
commit | 6c4925089b7d54be2753071c874163ab5aa82753 (patch) | |
tree | f887f1c3446f1b34eeb1e021230939664b7df10e /sys/dev/usb/uts.c | |
parent | 51d8d5da728c744d4a69e8a724bb42617b6f768b (diff) |
Make udl(4) and uts(4) compile again in debug mode by fixing IOCGROUP
and IOCPARM_LEN macros types.
Diffstat (limited to 'sys/dev/usb/uts.c')
-rw-r--r-- | sys/dev/usb/uts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uts.c b/sys/dev/usb/uts.c index beaf74104d0..d75c870e82b 100644 --- a/sys/dev/usb/uts.c +++ b/sys/dev/usb/uts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uts.c,v 1.41 2018/03/15 00:42:41 kevlo Exp $ */ +/* $OpenBSD: uts.c,v 1.42 2019/11/06 20:25:14 mglocker Exp $ */ /* * Copyright (c) 2007 Robert Nagy <robert@openbsd.org> @@ -308,8 +308,8 @@ uts_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *l) struct uts_softc *sc = v; struct wsmouse_calibcoords *wsmc = (struct wsmouse_calibcoords *)data; - DPRINTF(("uts_ioctl(%d, '%c', %d)\n", - IOCPARM_LEN(cmd), IOCGROUP(cmd), cmd & 0xff)); + DPRINTF(("uts_ioctl(%zu, '%c', %zu)\n", + IOCPARM_LEN(cmd), (int) IOCGROUP(cmd), cmd & 0xff)); switch (cmd) { case WSMOUSEIO_SCALIBCOORDS: |