summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uhidev.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/uhidev.c
parent023f148f597a0a1455b3cd62cf30553f5dbc28b5 (diff)
KNF
prompted and "much better" by marco@, ok pyr@
Diffstat (limited to 'sys/dev/usb/uhidev.c')
-rw-r--r--sys/dev/usb/uhidev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uhidev.c b/sys/dev/usb/uhidev.c
index b9c09ec7a53..f54f11d045e 100644
--- a/sys/dev/usb/uhidev.c
+++ b/sys/dev/usb/uhidev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uhidev.c,v 1.28 2007/09/09 01:00:35 fgsch Exp $ */
+/* $OpenBSD: uhidev.c,v 1.29 2007/09/11 13:39:34 gilles Exp $ */
/* $NetBSD: uhidev.c,v 1.14 2003/03/11 16:44:00 augustss Exp $ */
/*
@@ -259,7 +259,7 @@ uhidev_attach(struct device *parent, struct device *self, void *aux)
printf("%s: %d report ids\n", sc->sc_dev.dv_xname, nrepid);
nrepid++;
sc->sc_subdevs = malloc(nrepid * sizeof(struct device *),
- M_USBDEV, M_NOWAIT|M_ZERO);
+ M_USBDEV, M_NOWAIT | M_ZERO);
if (sc->sc_subdevs == NULL) {
printf("%s: no memory\n", sc->sc_dev.dv_xname);
return;