svn commit: r255242 - head/lib/libusb
Hans Petter Selasky
hselasky at FreeBSD.org
Thu Sep 5 12:21:12 UTC 2013
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
More information about the svn-src-all
mailing list