Date: Thu, 5 Sep 2013 12:21:12 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r255242 - head/lib/libusb Message-ID: <201309051221.r85CLCYU093530@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Thu Sep 5 12:21:11 2013 New Revision: 255242 URL: http://svnweb.freebsd.org/changeset/base/255242 Log: Correct two comments. Modified: head/lib/libusb/libusb20_ugen20.c Modified: head/lib/libusb/libusb20_ugen20.c ============================================================================== --- head/lib/libusb/libusb20_ugen20.c Thu Sep 5 11:59:23 2013 (r255241) +++ head/lib/libusb/libusb20_ugen20.c Thu Sep 5 12:21:11 2013 (r255242) @@ -697,7 +697,7 @@ ugen20_detach_kernel_driver(struct libus if (ioctl(pdev->file_ctrl, IOUSB(USB_IFACE_DRIVER_DETACH), &temp)) { return (LIBUSB20_ERROR_OTHER); } - return (0); /* kernel driver is active */ + return (0); /* kernel driver is detached */ } static int @@ -724,7 +724,7 @@ ugen20_do_request_sync(struct libusb20_d /* get actual length */ *pactlen = req.ucr_actlen; } - return (0); /* kernel driver is active */ + return (0); /* request was successful */ } static int
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309051221.r85CLCYU093530>