svn commit: r224903 - head/lib/libusb
Hans Petter Selasky
hselasky at freebsd.org
Sat Aug 20 13:54:27 UTC 2011
On Wednesday 17 August 2011 02:38:22 Sean C. Farley wrote:
> On Tue, 16 Aug 2011, Hans Petter Selasky wrote:
> > +enum libusb_speed
> > +libusb_get_device_speed(libusb_device *dev)
> > +{
> > + if (dev == NULL)
> > + return (0); /* should not happen */
>
> Should that return LIBUSB_SPEED_UNKNOWN instead of 0?
Yes, that's correct.
--HPS
More information about the svn-src-head
mailing list