diff options
| author | 2019-11-18 19:37:27 +0100 | |
|---|---|---|
| committer | 2019-11-18 19:37:27 +0100 | |
| commit | d8b193aac5994b0119394d5f7b02eeb28b78e8d1 (patch) | |
| tree | 89e32e09eeb6378d05a09d2f700d09af916f3eef | |
| parent | e542d279c1185048b9b61aebfb0d726bcb5bdec5 (diff) | |
| download | libirecovery-d8b193aac5994b0119394d5f7b02eeb28b78e8d1.tar.gz libirecovery-d8b193aac5994b0119394d5f7b02eeb28b78e8d1.tar.bz2 | |
macOS: Fix "Couldn't create a device interface (80000004)" error
| -rw-r--r-- | src/libirecovery.c | 2 |
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) | |||
| 1961 | kr = IOObjectRelease(device); | 1961 | kr = IOObjectRelease(device); |
| 1962 | continue; | 1962 | continue; |
| 1963 | } | 1963 | } |
| 1964 | result = (*plugInInterface)->QueryInterface(plugInInterface, CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID), (LPVOID *)&dev); | 1964 | result = (*plugInInterface)->QueryInterface(plugInInterface, CFUUIDGetUUIDBytes(kIOUSBDeviceInterfaceID320), (LPVOID *)&dev); |
| 1965 | (*plugInInterface)->Release(plugInInterface); | 1965 | (*plugInInterface)->Release(plugInInterface); |
| 1966 | 1966 | ||
| 1967 | if (result || !dev) { | 1967 | if (result || !dev) { |
