context: Fix order of PID/VID in a debug message
When no driver is found for an USB device a debug message is printed. However, it has PID and VID in wrong order - usually it is Vendor ID which goes first. This is how 'lsusb' prints it. Matching the order helps debugging. Signed-off-by: Michal Privoznik <michal@privoznik.com>
This commit is contained in:
parent
5bcf9ac008
commit
eefc954f91
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ usb_device_added_cb (FpContext *self, GUsbDevice *device, GUsbContext *usb_ctx)
|
|||
|
||||
if (found_driver == G_TYPE_NONE)
|
||||
{
|
||||
g_debug ("No driver found for USB device %04X:%04X", pid, vid);
|
||||
g_debug ("No driver found for USB device %04X:%04X", vid, pid);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue