aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/libcommon/source/host_communication.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/libcommon/source/host_communication.c')
-rw-r--r--firmware/libcommon/source/host_communication.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/libcommon/source/host_communication.c b/firmware/libcommon/source/host_communication.c
index 783c976..ea573bb 100644
--- a/firmware/libcommon/source/host_communication.c
+++ b/firmware/libcommon/source/host_communication.c
@@ -150,7 +150,7 @@ int usb_refill_from_host(uint8_t ep)
rc = USBD_Read(ep, msg->head, msgb_tailroom(msg),
(TransferCallback) &usb_read_cb, msg);
if (rc != USBD_STATUS_SUCCESS) {
- TRACE_ERROR("%s error %s\n", __func__, rc);
+ TRACE_ERROR("%s error %d\n", __func__, rc);
usb_buf_free(msg);
bep->in_progress = 0;
}