Improve USB device open log
For consistency with "List USB devices", log "Open USB device".
This commit is contained in:
parent
b60809a4da
commit
f20137d2ac
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ sc_usb_connect(struct sc_usb *usb, libusb_device *device,
|
||||||
const struct sc_usb_callbacks *cbs, void *cbs_userdata) {
|
const struct sc_usb_callbacks *cbs, void *cbs_userdata) {
|
||||||
int result = libusb_open(device, &usb->handle);
|
int result = libusb_open(device, &usb->handle);
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
LOGE("Open device: libusb error: %s", libusb_strerror(result));
|
LOGE("Open USB device: libusb error: %s", libusb_strerror(result));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue