summaryrefslogtreecommitdiffstats
path: root/lib/libusb/libusb20_ugen20.c
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2013-09-05 12:21:11 +0000
committerhselasky <hselasky@FreeBSD.org>2013-09-05 12:21:11 +0000
commitd2f07e2fda149e67578074b1212e2e63c3669de1 (patch)
tree29e3a2b5db87a4ab240b5872deb4990e28b6e512 /lib/libusb/libusb20_ugen20.c
parente6563595d7cfad99895776be3e9ec77fdea16e84 (diff)
downloadFreeBSD-src-d2f07e2fda149e67578074b1212e2e63c3669de1.zip
FreeBSD-src-d2f07e2fda149e67578074b1212e2e63c3669de1.tar.gz
Correct two comments.
Diffstat (limited to 'lib/libusb/libusb20_ugen20.c')
-rw-r--r--lib/libusb/libusb20_ugen20.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libusb/libusb20_ugen20.c b/lib/libusb/libusb20_ugen20.c
index 341bfb6..e40bc07 100644
--- a/lib/libusb/libusb20_ugen20.c
+++ b/lib/libusb/libusb20_ugen20.c
@@ -697,7 +697,7 @@ ugen20_detach_kernel_driver(struct libusb20_device *pdev,
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_device *pdev,
/* get actual length */
*pactlen = req.ucr_actlen;
}
- return (0); /* kernel driver is active */
+ return (0); /* request was successful */
}
static int
OpenPOWER on IntegriCloud