Improve USB device open log

For consistency with "List USB devices", log "Open USB device".
This commit is contained in:
Romain Vimont 2022-02-07 13:10:53 +01:00
parent b60809a4da
commit f20137d2ac

View file

@ -195,7 +195,7 @@ sc_usb_connect(struct sc_usb *usb, libusb_device *device,
const struct sc_usb_callbacks *cbs, void *cbs_userdata) {
int result = libusb_open(device, &usb->handle);
if (result < 0) {
LOGE("Open device: libusb error: %s", libusb_strerror(result));
LOGE("Open USB device: libusb error: %s", libusb_strerror(result));
return false;
}