summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorYojiro Uo <yuo@cvs.openbsd.org>2009-11-23 19:26:55 +0000
committerYojiro Uo <yuo@cvs.openbsd.org>2009-11-23 19:26:55 +0000
commit9bfe200c2099f20672062901bc1408db222f3a86 (patch)
tree5e8b99e418c2d45e529b106163b95b8352b76d03 /sys/dev/usb
parentb3a91e36bb8e33e50e69effebb753c1a91409e59 (diff)
suppress warning massage for polling only HID devices.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/uhidev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uhidev.c b/sys/dev/usb/uhidev.c
index 62da211463d..0bbf5142b9e 100644
--- a/sys/dev/usb/uhidev.c
+++ b/sys/dev/usb/uhidev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhidev.c,v 1.36 2009/10/13 19:33:19 pirofti Exp $ */
+/* $OpenBSD: uhidev.c,v 1.37 2009/11/23 19:26:54 yuo Exp $ */
/* $NetBSD: uhidev.c,v 1.14 2003/03/11 16:44:00 augustss Exp $ */
/*
@@ -279,8 +279,8 @@ uhidev_attach(struct device *parent, struct device *self, void *aux)
DPRINTF(("uhidev_match: repid=%d dev=%p\n",
repid, dev));
if (dev->sc_intr == NULL) {
- printf("%s: sc_intr == NULL\n",
- sc->sc_dev.dv_xname);
+ DPRINTF(("%s: sc_intr == NULL\n",
+ sc->sc_dev.dv_xname));
return;
}
#endif