Skip to content

Commit 8be2ef0

Browse files
committed
Fix darwin compilation broken by the usbi_get_device_by_session_id changes
Signed-off-by: Hans de Goede <[email protected]>
1 parent 733ffff commit 8be2ef0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libusb/os/darwin_usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ static void darwin_devices_detached (void *ptr, io_iterator_t rem_devices) {
293293
/* signal the core that this device has been disconnected. the core will tear down this device
294294
when the reference count reaches 0 */
295295
usbi_disconnect_device(dev);
296-
usb_unref_device(dev);
296+
libusb_unref_device(dev);
297297
}
298298
}
299299

libusb/version_nano.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#define LIBUSB_NANO 10834
1+
#define LIBUSB_NANO 10835

0 commit comments

Comments
 (0)