diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-11-26 15:01:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-11-26 15:01:02 +0000 |
commit | a1a8603ea08d1e236051f73a7d9ffdcf4e18e989 (patch) | |
tree | 4105a97165fb09946013d9f37cfc6730ca8d199b /sys/dev/usb | |
parent | 175c7856108bbbf3d517c4d082b0159e5acc9241 (diff) |
cover up a bug (resulting in noise in dmesg) that we still do not
understand, happens on the sun x4100 virtual console; ok dlg
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/uhidev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uhidev.c b/sys/dev/usb/uhidev.c index e73d499c296..d96b1e90e63 100644 --- a/sys/dev/usb/uhidev.c +++ b/sys/dev/usb/uhidev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhidev.c,v 1.18 2006/08/22 21:53:16 marco Exp $ */ +/* $OpenBSD: uhidev.c,v 1.19 2006/11/26 15:01:01 deraadt Exp $ */ /* $NetBSD: uhidev.c,v 1.14 2003/03/11 16:44:00 augustss Exp $ */ /* @@ -445,7 +445,7 @@ uhidev_intr(usbd_xfer_handle xfer, usbd_private_handle addr, usbd_status status) rep, scd, scd ? scd->sc_state : 0)); if (scd == NULL || !(scd->sc_state & UHIDEV_OPEN)) return; -#ifdef DIAGNOSTIC +#ifdef UHIDEV_DEBUG if (scd->sc_in_rep_size != cc) printf("%s: bad input length %d != %d\n",USBDEVNAME(sc->sc_dev), scd->sc_in_rep_size, cc); |