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:
Josh Gao 2019-05-10 11:28:38 -07:00
parent 0cd8102bbd
commit 16f992e228

View file

@ -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;
}