summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usbredirhost/usbredirhost.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usbredirhost/usbredirhost.c b/usbredirhost/usbredirhost.c
index 02f6463..0080da8 100644
--- a/usbredirhost/usbredirhost.c
+++ b/usbredirhost/usbredirhost.c
@@ -1033,8 +1033,7 @@ static int usbredirhost_handle_iso_status(struct usbredirhost *host,
case LIBUSB_TRANSFER_ERROR:
case LIBUSB_TRANSFER_TIMED_OUT:
default:
- ERROR("iso stream error on endpoint %02X: %s", ep,
- libusb_error_name(r));
+ ERROR("iso stream error on endpoint %02X: %d", ep, r);
return 1;
}
}
@@ -1340,8 +1339,7 @@ static void LIBUSB_CALL usbredirhost_interrupt_packet_complete(
host->endpoint[EP2I(ep)].interrupt_in_transfer = NULL;
goto unlock;
default:
- ERROR("interrupt in error on endpoint %02X: %s",
- ep, libusb_error_name(r));
+ ERROR("interrupt in error on endpoint %02X: %d", ep, r);
len = 0;
}