mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 14:23:55 +00:00
remove usbd_errstr(err) from printf.
err has nothing to say about this specific error.
This commit is contained in:
parent
fbe648c9b8
commit
8a95014be7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144685
|
@ -294,8 +294,8 @@ USB_ATTACH(uftdi)
|
|||
int addr, dir, attr;
|
||||
ed = usbd_interface2endpoint_descriptor(iface, i);
|
||||
if (ed == NULL) {
|
||||
printf("%s: could not read endpoint descriptor"
|
||||
": %s\n", devname, usbd_errstr(err));
|
||||
printf("%s: could not read endpoint descriptor\n",
|
||||
devname);
|
||||
goto bad;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue