mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Fix 'bulk in' and 'bulk out' being reversed in a couple of error messages.
This commit is contained in:
parent
ef91670a0e
commit
1a3a935b84
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111718
@ -343,7 +343,7 @@ ucomopen(dev_t dev, int flag, int mode, usb_proc_ptr p)
|
||||
err = usbd_open_pipe(sc->sc_iface, sc->sc_bulkin_no, 0,
|
||||
&sc->sc_bulkin_pipe);
|
||||
if (err) {
|
||||
printf("%s: open bulk out error (addr %d): %s\n",
|
||||
printf("%s: open bulk in error (addr %d): %s\n",
|
||||
USBDEVNAME(sc->sc_dev), sc->sc_bulkin_no,
|
||||
usbd_errstr(err));
|
||||
error = EIO;
|
||||
@ -353,7 +353,7 @@ ucomopen(dev_t dev, int flag, int mode, usb_proc_ptr p)
|
||||
err = usbd_open_pipe(sc->sc_iface, sc->sc_bulkout_no,
|
||||
USBD_EXCLUSIVE_USE, &sc->sc_bulkout_pipe);
|
||||
if (err) {
|
||||
printf("%s: open bulk in error (addr %d): %s\n",
|
||||
printf("%s: open bulk out error (addr %d): %s\n",
|
||||
USBDEVNAME(sc->sc_dev), sc->sc_bulkout_no,
|
||||
usbd_errstr(err));
|
||||
error = EIO;
|
||||
|
Loading…
Reference in New Issue
Block a user