Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16f992e2 authored by Josh Gao's avatar Josh Gao
Browse files

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
parent 0cd8102b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }