remove usbd_errstr(err) from printf.

err has nothing to say about this specific error.
This commit is contained in:
Bernd Walter 2005-04-05 22:03:07 +00:00
parent fbe648c9b8
commit 8a95014be7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=144685

View file

@ -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;
}