From 5122043efe165f5cbb16f56da5c3d41138e81907 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Thu, 5 Sep 2013 12:21:11 +0000 Subject: [PATCH] Correct two comments. --- lib/libusb/libusb20_ugen20.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libusb/libusb20_ugen20.c b/lib/libusb/libusb20_ugen20.c index 341bfb6d71ad..e40bc07e61e0 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