diff options
| author | 2007-09-11 13:39:33 +0000 | |
|---|---|---|
| committer | 2007-09-11 13:39:33 +0000 | |
| commit | 0b149fa0fbcf646d5093849f9dcec55b341ce482 (patch) | |
| tree | f95a4e02d452e48fabdbed1680ae9c1f6cc505b9 /sys/dev/usb/usb_subr.c | |
| parent | Add __bounded__ attributes to prototypes. (diff) | |
| download | wireguard-openbsd-0b149fa0fbcf646d5093849f9dcec55b341ce482.tar.xz wireguard-openbsd-0b149fa0fbcf646d5093849f9dcec55b341ce482.zip | |
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.c | 4 |
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); |
