svn commit: r310276 - stable/11/lib/libusb
Edward Tomasz Napierala
trasz at FreeBSD.org
Mon Dec 19 17:02:57 UTC 2016
Author: trasz
Date: Mon Dec 19 17:02:55 2016
New Revision: 310276
URL: https://svnweb.freebsd.org/changeset/base/310276
Log:
MFC r307774:
Fix libusb20_dev_get_desc(3) to use the "vendor product" order, not
"product vendor". This is consistent with how it's generally done.
The ordering is visible eg in usbconfig(8) output.
Modified:
stable/11/lib/libusb/libusb20_ugen20.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/lib/libusb/libusb20_ugen20.c
==============================================================================
--- stable/11/lib/libusb/libusb20_ugen20.c Mon Dec 19 15:49:59 2016 (r310275)
+++ stable/11/lib/libusb/libusb20_ugen20.c Mon Dec 19 17:02:55 2016 (r310276)
@@ -214,8 +214,8 @@ ugen20_enumerate(struct libusb20_device
snprintf(pdev->usb_desc, sizeof(pdev->usb_desc),
USB_GENERIC_NAME "%u.%u: <%s %s> at usbus%u", pdev->bus_number,
- pdev->device_address, devinfo.udi_product,
- devinfo.udi_vendor, pdev->bus_number);
+ pdev->device_address, devinfo.udi_vendor,
+ devinfo.udi_product, pdev->bus_number);
error = 0;
done:
More information about the svn-src-stable
mailing list