summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-03 20:49:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-06-03 20:49:26 +0000
commit83387be4a47edbb655bb4a3b5484776a18bd737e (patch)
tree8d2333aa9a1b4a93f0d60604f124bacec94f564b /sys/dev/usb
parentedeb08d961a3b9a57c5ee7613f13ee1467ab7aa5 (diff)
delete two extra lines which are not needed because that is how strings
actually work, surprise surprise; ok claudio cnst
Diffstat (limited to 'sys/dev/usb')
-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 *