summaryrefslogtreecommitdiffstats
path: root/src/libirecovery.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-11-18 19:37:27 +0100
committerGravatar Nikias Bassen2019-11-18 19:37:27 +0100
commitd8b193aac5994b0119394d5f7b02eeb28b78e8d1 (patch)
tree89e32e09eeb6378d05a09d2f700d09af916f3eef /src/libirecovery.c
parente542d279c1185048b9b61aebfb0d726bcb5bdec5 (diff)
downloadlibirecovery-d8b193aac5994b0119394d5f7b02eeb28b78e8d1.tar.gz
libirecovery-d8b193aac5994b0119394d5f7b02eeb28b78e8d1.tar.bz2
macOS: Fix "Couldn't create a device interface (80000004)" error
Diffstat (limited to 'src/libirecovery.c')
-rw-r--r--src/libirecovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libirecovery.c b/src/libirecovery.c
index b0cb0d4..7b50ff2 100644
--- a/src/libirecovery.c
+++ b/src/libirecovery.c
@@ -1961,7 +1961,7 @@ static void iokit_device_added(void *refcon, io_iterator_t iterator)
kr = IOObjectRelease(device);
continue;
}
- result = (*plugInInterface)->QueryInterface(plugInInterface, CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID), (LPVOID *)&dev);
+ result = (*plugInInterface)->QueryInterface(plugInInterface, CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID320), (LPVOID *)&dev);
(*plugInInterface)->Release(plugInInterface);
if (result || !dev) {