summaryrefslogtreecommitdiffstats
path: root/src/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices.c')
-rw-r--r--src/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices.c b/src/devices.c
index 66fddee..6bfe624 100644
--- a/src/devices.c
+++ b/src/devices.c
@@ -56,7 +56,7 @@ int is_valid_device(struct usb_device_descriptor *udd)
for(i=1 ; ptr.vendor_id; ptr = supported_devices[++i])
if ((udd->idVendor == ptr.vendor_id)
&& (udd->idProduct == ptr.product_id)) {
- D printf("found %s\n", supported_devices[i]);
+ D printf("found %s\n", supported_devices[i].name);
return i;
}