From: jcs Date: Wed, 17 Jun 2015 20:38:15 +0000 (+0000) Subject: fix compilation with UBCMTP_DEBUG X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3c7c9148fe0e50d5a85d9f4005b1c4a81957b271;p=openbsd fix compilation with UBCMTP_DEBUG --- diff --git a/sys/dev/usb/ubcmtp.c b/sys/dev/usb/ubcmtp.c index b00cccafc4e..8c7898f08ba 100644 --- a/sys/dev/usb/ubcmtp.c +++ b/sys/dev/usb/ubcmtp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ubcmtp.c,v 1.7 2015/03/14 03:38:49 jsg Exp $ */ +/* $OpenBSD: ubcmtp.c,v 1.8 2015/06/17 20:38:15 jcs Exp $ */ /* * Copyright (c) 2013-2014, joshua stein @@ -553,7 +553,7 @@ ubcmtp_ioctl(void *v, unsigned long cmd, caddr_t data, int flag, struct proc *p) struct wsmouse_calibcoords *wsmc = (struct wsmouse_calibcoords *)data; int wsmode; - DPRINTF("%s: in %s with cmd 0x%x\n", sc->sc_dev.dv_xname, __func__, + DPRINTF("%s: in %s with cmd 0x%lx\n", sc->sc_dev.dv_xname, __func__, cmd); switch (cmd) {