summaryrefslogtreecommitdiffstats
path: root/lib/libusb
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2016-06-16 16:26:16 +0000
committerhselasky <hselasky@FreeBSD.org>2016-06-16 16:26:16 +0000
commit1ae2d37eecdda2d9cdc498aeb71d295d3cbab35c (patch)
tree57f6e6321ab53e294d30849fa74237dbb53cbaa2 /lib/libusb
parent2d112dac066b17955391f02b6fa5ddd49dd35dc7 (diff)
downloadFreeBSD-src-1ae2d37eecdda2d9cdc498aeb71d295d3cbab35c.zip
FreeBSD-src-1ae2d37eecdda2d9cdc498aeb71d295d3cbab35c.tar.gz
Add missing return statement.
Approved by: re (gjb) MFC after: 1 week
Diffstat (limited to 'lib/libusb')
-rw-r--r--lib/libusb/libusb10.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libusb/libusb10.c b/lib/libusb/libusb10.c
index 7e1d9b6..7b336c9 100644
--- a/lib/libusb/libusb10.c
+++ b/lib/libusb/libusb10.c
@@ -890,6 +890,7 @@ int
libusb_set_auto_detach_kernel_driver(libusb_device_handle *dev, int enable)
{
dev->auto_detach = (enable ? 1 : 0);
+ return (0);
}
/* Asynchronous device I/O */
OpenPOWER on IntegriCloud