summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libusb/os/darwin_usb.c2
-rw-r--r--libusb/version_nano.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libusb/os/darwin_usb.c b/libusb/os/darwin_usb.c
index d0350fb..204e1ef 100644
--- a/libusb/os/darwin_usb.c
+++ b/libusb/os/darwin_usb.c
@@ -293,7 +293,7 @@ static void darwin_devices_detached (void *ptr, io_iterator_t rem_devices) {
/* signal the core that this device has been disconnected. the core will tear down this device
when the reference count reaches 0 */
usbi_disconnect_device(dev);
- usb_unref_device(dev);
+ libusb_unref_device(dev);
}
}
diff --git a/libusb/version_nano.h b/libusb/version_nano.h
index 995c478..da8a87c 100644
--- a/libusb/version_nano.h
+++ b/libusb/version_nano.h
@@ -1 +1 @@
-#define LIBUSB_NANO 10834
+#define LIBUSB_NANO 10835