]> sigrok.org Git - libsigrok.git/commitdiff
sr_buildinfo_libs_get(): Show LIBUSB_API_VERSION.
authorUwe Hermann <redacted>
Thu, 19 Jul 2018 21:56:33 +0000 (23:56 +0200)
committerUwe Hermann <redacted>
Thu, 19 Jul 2018 21:56:33 +0000 (23:56 +0200)
src/backend.c

index c8784f54fec3d9b925ff97c7de897ac8fff4beef..0a9bf1361baf5b5e3d2e74acd977a26939678777 100644 (file)
@@ -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