summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uvisor.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uvisor.c')
-rw-r--r--sys/dev/usb/uvisor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/uvisor.c b/sys/dev/usb/uvisor.c
index 1ea97d9..0cffd86 100644
--- a/sys/dev/usb/uvisor.c
+++ b/sys/dev/usb/uvisor.c
@@ -233,7 +233,7 @@ USB_ATTACH(uvisor)
usbd_status err;
struct ucom_softc *ucom;
- devinfo = malloc(1024, M_USBDEV, 0);
+ devinfo = malloc(1024, M_USBDEV, M_WAITOK);
ucom = &sc->sc_ucom;
bzero(sc, sizeof (struct uvisor_softc));
OpenPOWER on IntegriCloud