summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uplcom.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uplcom.c')
-rw-r--r--sys/dev/usb/uplcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/uplcom.c b/sys/dev/usb/uplcom.c
index fe1ec1f..2da6f8d 100644
--- a/sys/dev/usb/uplcom.c
+++ b/sys/dev/usb/uplcom.c
@@ -680,7 +680,7 @@ uplcom_open(void *addr, int portno)
int err;
if (sc->sc_ucom.sc_dying)
- return (EIO);
+ return (ENXIO);
DPRINTF(("uplcom_open: sc = %p\n", sc));
OpenPOWER on IntegriCloud