summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--usbredirhost/usbredirhost.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/TODO b/TODO
index e6715b1..2085006 100644
--- a/TODO
+++ b/TODO
@@ -4,3 +4,4 @@
* cancel pending packets / active streams before reset?
* add a queue_buf call to parser, use it in host to avoid memcpy of
"in" bulk transfers
+* use libusb strerror equivalent instead of numeric error codes in logs
diff --git a/usbredirhost/usbredirhost.c b/usbredirhost/usbredirhost.c
index be75f87..2415c26 100644
--- a/usbredirhost/usbredirhost.c
+++ b/usbredirhost/usbredirhost.c
@@ -707,6 +707,7 @@ int usbredirhost_set_device(struct usbredirhost *host,
so lets do that before hand */
r = libusb_reset_device(host->handle);
if (r != 0) {
+ ERROR("resetting device: %d", r);
usbredirhost_clear_device(host);
return libusb_status_or_error_to_redir_status(host, r);
}