summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_hid.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-03-07 11:03:11 -0300
committerRenato Botelho <renato@netgate.com>2016-03-07 11:03:11 -0300
commit81ca6de1be9c20d444d1a292655e4732a9c76539 (patch)
treef3d51afe9a1f2b88dea2c5e10289db1f3f2ed5d1 /sys/dev/usb/usb_hid.c
parent124a553c4366e5f98bf66430356250b0db8eb135 (diff)
parent81dfa2bb6c9e62b96e6586a82c13db809c03fd20 (diff)
downloadFreeBSD-src-81ca6de1be9c20d444d1a292655e4732a9c76539.zip
FreeBSD-src-81ca6de1be9c20d444d1a292655e4732a9c76539.tar.gz
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'sys/dev/usb/usb_hid.c')
-rw-r--r--sys/dev/usb/usb_hid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_hid.c b/sys/dev/usb/usb_hid.c
index e6361a6..dc0ce99 100644
--- a/sys/dev/usb/usb_hid.c
+++ b/sys/dev/usb/usb_hid.c
@@ -354,7 +354,8 @@ hid_get_item(struct hid_data *s, struct hid_item *h)
/* range check usage count */
if (c->loc.count > 255) {
DPRINTFN(0, "Number of "
- "items truncated to 255\n");
+ "items(%u) truncated to 255\n",
+ (unsigned)(c->loc.count));
s->ncount = 255;
} else
s->ncount = c->loc.count;
OpenPOWER on IntegriCloud