Date: Sat, 20 Aug 2011 15:41:53 +0200 From: Hans Petter Selasky <hselasky@freebsd.org> To: "Sean C. Farley" <scf@freebsd.org> Cc: "svn-src-head@FreeBSD.org" <svn-src-head@freebsd.org>, "svn-src-all@FreeBSD.org" <svn-src-all@freebsd.org>, "src-committers@FreeBSD.org" <src-committers@freebsd.org> Subject: Re: svn commit: r224903 - head/lib/libusb Message-ID: <201108201541.54006.hselasky@freebsd.org> In-Reply-To: <alpine.BSF.2.02.1108160953310.3193@thor.farley.org> References: <201108160834.p7G8YHiT048516@svn.freebsd.org> <alpine.BSF.2.02.1108160953310.3193@thor.farley.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108201541.54006.hselasky>