summaryrefslogtreecommitdiffstats
path: root/src/devices.c
diff options
context:
space:
mode:
authorpancake <pancake@dazo>2007-11-20 04:14:13 +0100
committerpancake <pancake@dazo>2007-11-20 04:14:13 +0100
commit4115aab13d70bbe8300562bcd789cc5bc27c8ded (patch)
tree8bd7531d26dd35a45d5a52a5574bc1693261c168 /src/devices.c
parentfbdac811fc7694ca936607590cb19fd930528f5e (diff)
download0xFFFF-4115aab13d70bbe8300562bcd789cc5bc27c8ded.tar.bz2
- Import patches from Osvaldo Santana * Fix build on gcc 4 * Fix nanddump call definition (ignore oob added) * Fixed some stupid bugs with -pedantic -std=c990.3.1
release 0.3.1
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;
}