summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usb_subr.c')
-rw-r--r--sys/dev/usb/usb_subr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c
index 12601a6a169..9d702810c78 100644
--- a/sys/dev/usb/usb_subr.c
+++ b/sys/dev/usb/usb_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usb_subr.c,v 1.49 2007/05/21 05:40:28 jsg Exp $ */
+/* $OpenBSD: usb_subr.c,v 1.50 2007/06/03 20:49:25 deraadt Exp $ */
/* $NetBSD: usb_subr.c,v 1.103 2003/01/10 11:19:13 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */
@@ -318,8 +318,6 @@ usbd_devinfo(usbd_device_handle dev, int showclass, char *base, size_t len)
usbd_printBCD(cp, base + len - cp, bcdDevice);
cp += strlen(cp);
snprintf(cp, base + len - cp, ", addr %d", dev->address);
- cp += strlen(cp);
- *cp = 0;
}
char *