Change in osmo-remsim[master]: minor: show USB error message instead of number

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Nov 18 20:33:18 UTC 2018


Harald Welte has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



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: merged
Gerrit-Change-Id: I272ac1be82b7432934969ea4d204dd20067d9428
Gerrit-Change-Number: 11754
Gerrit-PatchSet: 1
Gerrit-Owner: Kévin Redon <kredon at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181118/2b7f5a57/attachment.htm>


More information about the gerrit-log mailing list