summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_subr.c
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2007-09-11 13:39:35 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2007-09-11 13:39:35 +0000
commitca08fa30b3ab02619e3cdee1f4ffd7fae6833fd1 (patch)
tree51e8b8caf8623fba8a3acc9ce731036f9376a41c /sys/dev/usb/usb_subr.c
parent023f148f597a0a1455b3cd62cf30553f5dbc28b5 (diff)
KNF
prompted and "much better" by marco@, ok pyr@
Diffstat (limited to 'sys/dev/usb/usb_subr.c')
-rw-r--r--sys/dev/usb/usb_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c
index 7a66501691b..c3dacfe467e 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.59 2007/09/09 18:36:13 deraadt Exp $ */
+/* $OpenBSD: usb_subr.c,v 1.60 2007/09/11 13:39:34 gilles 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 $ */
@@ -890,7 +890,7 @@ usbd_probe_and_attach(struct device *parent, usbd_device_handle dev, int port,
uaa.ifaces = ifaces;
uaa.nifaces = nifaces;
len = (nifaces+1) * sizeof dv;
- dev->subdevs = malloc(len, M_USB, M_NOWAIT|M_ZERO);
+ dev->subdevs = malloc(len, M_USB, M_NOWAIT | M_ZERO);
if (dev->subdevs == NULL) {
free(ifaces, M_USB);
return (USBD_NOMEM);