Fix darwin compilation broken by the usbi_get_device_by_session_id changes
authorHans de Goede <hdegoede@redhat.com>
Sun, 15 Sep 2013 09:47:23 +0000 (11:47 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sun, 15 Sep 2013 09:48:55 +0000 (11:48 +0200)
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
libusb/os/darwin_usb.c
libusb/version_nano.h

index d0350fb787724204a1e5f602040cd6ccfaaede0a..204e1effc9d35e1432a08b43d3e1608ec8046c20 100644 (file)
@@ -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);
       }
     }
 
index 995c4781e1b2153212ca25be4dfd3c2c87fec3eb..da8a87caad4dee2fd96b7d8b14bf5042f37877e3 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10834
+#define LIBUSB_NANO 10835