fastboot: demote OS X USB error.
We can't create interface iterators for all devices (e.g. the keyboard, touchbar, etc.), so we get multiple instances of this log spam on every command. Demote it to a warning that only shows up on debug builds. Test: none Change-Id: I20581b9134c05360d5723b09ffe8de8c4cfd6a3f
This commit is contained in:
parent
0cd8102bbd
commit
16f992e228
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ static int try_interfaces(IOUSBDeviceInterface500** dev, usb_handle* handle) {
|
|||
kr = (*dev)->CreateInterfaceIterator(dev, &request, &iterator);
|
||||
|
||||
if (kr != 0) {
|
||||
ERR("Couldn't create a device interface iterator: (%08x)\n", kr);
|
||||
WARN("Couldn't create a device interface iterator: (%08x)\n", kr);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue