darwin: downgrade error message on failure to open interface to info
authorNathan Hjelm <hjelmn@google.com>
Tue, 20 Jul 2021 21:48:27 +0000 (15:48 -0600)
committerNathan Hjelm <hjelmn@google.com>
Tue, 20 Jul 2021 21:52:47 +0000 (15:52 -0600)
commitb0fd4d873e224bbb1985971834d31d956080c7a4
tree52eeed437e12886e7499f9f8edd70e184fb8a5fc
parent47aecbcaa299e304728ed275e8aacdc68306a234
darwin: downgrade error message on failure to open interface to info

This resolves an issue introduced by the implementation of the kernel detach code. This
code used claim_interface to detect if a kernel driver is attached. The issue is that if
a driver is attached or the interface is not available and an error message was printed
out. Since this is not an error the info level is more appropriate.

Also downgrading a number of warnings to clean up the output.

Closes #955

Signed-off-by: Nathan Hjelm <hjelmn@google.com>
libusb/os/darwin_usb.c
libusb/version_nano.h