summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/urio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/urio.c')
-rw-r--r--sys/dev/usb/urio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c
index 0e09e6a..6594c6a 100644
--- a/sys/dev/usb/urio.c
+++ b/sys/dev/usb/urio.c
@@ -262,11 +262,11 @@ USB_ATTACH(urio)
DPRINTFN(10, ("urio_attach: %p\n", sc->sc_udev));
- USB_ATTACH_SUCCESS_RETURN;
+ return 0;
nobulk:
printf("%s: could not find %s\n", device_get_nameunit(sc->sc_dev),ermsg);
- USB_ATTACH_ERROR_RETURN;
+ return ENXIO;
}
OpenPOWER on IntegriCloud