diff options
author | trasz <trasz@FreeBSD.org> | 2016-12-19 17:02:55 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2016-12-19 17:02:55 +0000 |
commit | c60f07c4ff3fcd648ef83a69327082ae9eab974a (patch) | |
tree | 43965eeabbd74026c2c64422ab88c281034657fb /lib/libusb/libusb20_ugen20.c | |
parent | cd597b8cb2598b40e7300a3a6bcb7379fbd8202f (diff) | |
download | FreeBSD-src-c60f07c4ff3fcd648ef83a69327082ae9eab974a.zip FreeBSD-src-c60f07c4ff3fcd648ef83a69327082ae9eab974a.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/libusb20_ugen20.c')
-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: |