diff options
author | Warner Losh <imp@FreeBSD.org> | 2008-08-31 03:22:19 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2008-08-31 03:22:19 +0000 |
commit | 88c29cec87ab1718a90d67b7cb335fa42822841b (patch) | |
tree | 94e17a2fb3358021527c85043775e47b272ce413 | |
parent | 8a5492b8817dbd1a0a609dec51e486e75c330843 (diff) |
Notes
-rw-r--r-- | sys/dev/usb/ufoma.c | 2 | ||||
-rw-r--r-- | sys/dev/usb/umodem.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ufoma.c b/sys/dev/usb/ufoma.c index 0b1ed10001dbb..ef6840bff8797 100644 --- a/sys/dev/usb/ufoma.c +++ b/sys/dev/usb/ufoma.c @@ -950,7 +950,7 @@ ufoma_param(void *addr, int portno, struct termios *t) err = ufoma_set_line_coding(sc, &ls); if (err) { DPRINTF(("ufoma_param: err=%s\n", usbd_errstr(err))); - return (ENOTTY); + return (EIO); } return (0); diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c index 019304b86d83e..f0cb17c98cfb0 100644 --- a/sys/dev/usb/umodem.c +++ b/sys/dev/usb/umodem.c @@ -603,7 +603,7 @@ umodem_param(void *addr, int portno, struct termios *t) err = umodem_set_line_coding(sc, &ls); if (err) { DPRINTF(("umodem_param: err=%s\n", usbd_errstr(err))); - return (ENOTTY); + return (EIO); } return (0); } |