usb/151851: libusb(3) libusb_control_transfer() return value is
incorrect
Hans Petter Selasky
hselasky at c2i.net
Mon Nov 1 08:50:08 UTC 2010
The following reply was made to PR usb/151851; it has been noted by GNATS.
From: Hans Petter Selasky <hselasky at c2i.net>
To: freebsd-usb at freebsd.org
Cc: HIROSHI OOTA <xalaxy at gmail.com>,
freebsd-gnats-submit at freebsd.org
Subject: Re: usb/151851: libusb(3) libusb_control_transfer() return value is incorrect
Date: Mon, 1 Nov 2010 09:43:02 +0100
On Monday 01 November 2010 02:18:58 HIROSHI OOTA wrote:
> >Number: 151851
> >Category: usb
> >Synopsis: libusb(3) libusb_control_transfer() return value is
> >incorrect Confidential: no
> >Severity: non-critical
> >Priority: low
> >Responsible: freebsd-usb
> >State: open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class: doc-bug
> >Submitter-Id: current-users
> >Arrival-Date: Mon Nov 01 01:20:08 UTC 2010
> >Closed-Date:
> >Last-Modified:
> >Originator: HIROSHI OOTA
> >Release: 9-current
> >Organization:
>
> >Environment:
> FreeBSD aries 9.0-CURRENT FreeBSD 9.0-CURRENT #102 r214602M: Mon Nov 1
> 03:06:42 JST 2010 root at localhost amd64
>
> >Description:
> In the libusb(3) man page the return value of libusb_control_transfer is:
> > Returns 0 on success
>
> but, it's returns the number of bytes actually transferred.
>
> >How-To-Repeat:
> >
> >Fix:
> >
> >
> >Release-Note:
> >Audit-Trail:
>
> >Unformatted:
See USB P4 change 185296.
--HPS
More information about the freebsd-usb
mailing list