From f79b653523980cb3a7510a474860aa1594868c9f Mon Sep 17 00:00:00 2001 From: Pali Rohár Date: Fri, 10 Aug 2012 13:22:01 +0200 Subject: cold-flash: Use struct usb_device_info --- src/main2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main2.c') diff --git a/src/main2.c b/src/main2.c index bb30ce4..2736828 100644 --- a/src/main2.c +++ b/src/main2.c @@ -727,7 +727,7 @@ int main(int argc, char **argv) { continue; } - cold_flash(usb_dev->udev, image_2nd, image_secondary); + cold_flash(usb_dev, image_2nd, image_secondary); usb_close_device(usb_dev); usb_dev = NULL; -- cgit v1.2.3