summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhub.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/uhub.c')
-rw-r--r--sys/dev/usb/uhub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uhub.c b/sys/dev/usb/uhub.c
index 5378458..0c07211 100644
--- a/sys/dev/usb/uhub.c
+++ b/sys/dev/usb/uhub.c
@@ -535,8 +535,8 @@ uhub_explore(usbd_device_handle dev)
* some other serious problem. Since we cannot leave
* at 0 we have to disable the port instead.
*/
- printf("%s: device problem, disabling port %d\n",
- USBDEVNAME(sc->sc_dev), port);
+ printf("%s: device problem (%s), disabling port %d\n",
+ USBDEVNAME(sc->sc_dev), usbd_errstr(err), port);
usbd_clear_port_feature(dev, port, UHF_PORT_ENABLE);
} else {
/* The port set up succeeded, reset error count. */
OpenPOWER on IntegriCloud