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/.

Kévin Redon gerrit-no-reply at lists.osmocom.org
Mon Nov 12 21:54:20 UTC 2018


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 <kredon at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181112/2a11b1e6/attachment.htm>


More information about the gerrit-log mailing list