Kévin Redon has uploaded this change for review. ( 
https://gerrit.osmocom.org/11754


Change subject: minor: show USB error message instead of number
......................................................................

minor: show USB error message instead of number

Change-Id: I272ac1be82b7432934969ea4d204dd20067d9428
---
M src/simtrace2-remsim_client.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/54/11754/1

diff --git a/src/simtrace2-remsim_client.c b/src/simtrace2-remsim_client.c
index f033e7d..1cf09a6 100644
--- a/src/simtrace2-remsim_client.c
+++ b/src/simtrace2-remsim_client.c
@@ -465,7 +465,7 @@
                if (rc < 0 && rc != LIBUSB_ERROR_TIMEOUT &&
                        rc != LIBUSB_ERROR_INTERRUPTED &&
                        rc != LIBUSB_ERROR_IO) {
-                       fprintf(stderr, "BULK IN transfer error; rc=%d\n", rc);
+                       fprintf(stderr, "BULK IN transfer error: %s\n", 
libusb_error_name(rc));
                        return;
                }
                /* dispatch any incoming data */

--
To view, visit https://gerrit.osmocom.org/11754
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I272ac1be82b7432934969ea4d204dd20067d9428
Gerrit-Change-Number: 11754
Gerrit-PatchSet: 1
Gerrit-Owner: Kévin Redon <kre...@sysmocom.de>

Reply via email to