usb-device: Fix error message for usb_set_altinterface
This commit is contained in:
1 parent
8d053c9074
commit
69a7c2705e
1 file changed
+1
-1
+1
-1
@@ -195,7 +195,7 @@ static struct usb_device_info * usb_device_is_valid(struct usb_device * dev) {
|
||||
if ( usb_devices[i].alternate >= 0 ) {
|
||||
PRINTF_LINE("Setting alternate USB interface...");
|
||||
if ( usb_set_altinterface(udev, usb_devices[i].alternate) < 0 ) {
|
||||
PRINTF_ERROR("usb_claim_interface failed");
|
||||
PRINTF_ERROR("usb_set_altinterface failed");
|
||||
fprintf(stderr, "\n");
|
||||
usb_reattach_kernel_driver(udev, usb_devices[i].interface);
|
||||
usb_close(udev);
|
||||
|
||||
Reference in new issue
Block a user