svn commit: r307774 - head/lib/libusb

Oliver Pinter oliver.pinter at hardenedbsd.org
Sun Dec 11 00:10:04 UTC 2016


On 10/22/16, Edward Tomasz Napierala <trasz at freebsd.org> wrote:
> Author: trasz
> Date: Sat Oct 22 14:37:13 2016
> New Revision: 307774
> URL: https://svnweb.freebsd.org/changeset/base/307774
>
> Log:
>   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.
>
>   Note to self: MFC this to 9 and 8.
>
>   Reviewed by:	hselasky@
>   MFC after:	1 month

Is this MFC still valid? I can't see them in 10-STABLE nor in 11-STABLE.

>   Differential Revision:	https://reviews.freebsd.org/D8258
>
> Modified:
>   head/lib/libusb/libusb20_ugen20.c
>
> Modified: head/lib/libusb/libusb20_ugen20.c
> ==============================================================================
> --- head/lib/libusb/libusb20_ugen20.c	Sat Oct 22 13:20:02 2016	(r307773)
> +++ head/lib/libusb/libusb20_ugen20.c	Sat Oct 22 14:37:13 2016	(r307774)
> @@ -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:
> _______________________________________________
> svn-src-head at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscribe at freebsd.org"
>


More information about the svn-src-all mailing list