diff options
author | trasz <trasz@FreeBSD.org> | 2016-12-19 18:26:26 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2016-12-19 18:26:26 +0000 |
commit | 11a3452fd3e8a7777385367aca51d545a227218a (patch) | |
tree | 2462e4a96ba34d38e79ca8735fcd5437a61de8f9 /lib/libusb | |
parent | e4b0f1e89251e852a3a7a2ed9f7c1d2094166b62 (diff) | |
download | FreeBSD-src-11a3452fd3e8a7777385367aca51d545a227218a.zip FreeBSD-src-11a3452fd3e8a7777385367aca51d545a227218a.tar.gz |
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.
Diffstat (limited to 'lib/libusb')
-rw-r--r-- | lib/libusb/libusb20_ugen20.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libusb/libusb20_ugen20.c b/lib/libusb/libusb20_ugen20.c index e40bc07..be2acee 100644 --- a/lib/libusb/libusb20_ugen20.c +++ b/lib/libusb/libusb20_ugen20.c @@ -214,8 +214,8 @@ ugen20_enumerate(struct libusb20_device *pdev, const char *id) 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: |