summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Eliyahu Stern2022-12-23 15:04:07 +0200
committerGravatar Eliyahu Stern2022-12-23 15:04:07 +0200
commit24a02650d9f4e18f91c299e99a0da01c337d7656 (patch)
tree80bdf499c2d87d0c5fd3b6a8590af0e0744a219a /src
parenta2cbb595276a328e50c2723fbe3cba8a8099dea0 (diff)
downloadusbmuxd-24a02650d9f4e18f91c299e99a0da01c337d7656.tar.gz
usbmuxd-24a02650d9f4e18f91c299e99a0da01c337d7656.tar.bz2
correct log
Diffstat (limited to 'src')
-rw-r--r--src/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usb.c b/src/usb.c
index 274bebc..ee64fa5 100644
--- a/src/usb.c
+++ b/src/usb.c
@@ -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) {