From: Uwe Hermann Date: Thu, 19 Jul 2018 21:56:33 +0000 (+0200) Subject: sr_buildinfo_libs_get(): Show LIBUSB_API_VERSION. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e6104296c29f31e812c964da53093bdc6292efcd;p=libsigrok.git sr_buildinfo_libs_get(): Show LIBUSB_API_VERSION. --- diff --git a/src/backend.c b/src/backend.c index c8784f54..0a9bf136 100644 --- a/src/backend.c +++ b/src/backend.c @@ -153,8 +153,9 @@ SR_API GSList *sr_buildinfo_libs_get(void) m = g_slist_append(m, g_strdup_printf("%s", CONF_LIBUSB_1_0_VERSION)); #else lv = libusb_get_version(); - m = g_slist_append(m, g_strdup_printf("%d.%d.%d.%d%s", - lv->major, lv->minor, lv->micro, lv->nano, lv->rc)); + m = g_slist_append(m, g_strdup_printf("%d.%d.%d.%d%s API 0x%08x", + lv->major, lv->minor, lv->micro, lv->nano, lv->rc, + LIBUSB_API_VERSION)); #endif l = g_slist_append(l, m); #endif