diff options
author | Eliyahu Stern | 2022-12-23 15:04:07 +0200 |
---|---|---|
committer | Eliyahu Stern | 2022-12-23 15:04:07 +0200 |
commit | 24a02650d9f4e18f91c299e99a0da01c337d7656 (patch) | |
tree | 80bdf499c2d87d0c5fd3b6a8590af0e0744a219a | |
parent | a2cbb595276a328e50c2723fbe3cba8a8099dea0 (diff) | |
download | usbmuxd-24a02650d9f4e18f91c299e99a0da01c337d7656.tar.gz usbmuxd-24a02650d9f4e18f91c299e99a0da01c337d7656.tar.bz2 |
correct log
-rw-r--r-- | src/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -451,7 +451,7 @@ static int set_valid_configuration(struct libusb_device* dev, struct usb_device usbmuxd_log(LL_DEBUG, "Device %d-%d is unconfigured", bus, address); } if(current_config == 0 || config->bConfigurationValue != current_config) { - usbmuxd_log(LL_NOTICE, "Changing configuration of device %i-%i: %i -> %i", bus, address, config->bConfigurationValue, current_config); + usbmuxd_log(LL_NOTICE, "Changing configuration of device %i-%i: %i -> %i", bus, address, current_config, config->bConfigurationValue); for(k=0 ; k < config->bNumInterfaces ; k++) { const struct libusb_interface_descriptor *intf1 = &config->interface[k].altsetting[0]; if((res = libusb_kernel_driver_active(handle, intf1->bInterfaceNumber)) < 0) { |