From: Uwe Bonnes Date: Tue, 5 Jul 2011 16:03:48 +0000 (+0200) Subject: examples/find-all: Use the new "find-all" option X-Git-Tag: v1.0rc1~104 X-Git-Url: http://developer.intra2net.com/git/?p=libftdi;a=commitdiff_plain;h=35ac57123b3493bcd43c9920e5517ddda1de8e3d examples/find-all: Use the new "find-all" option --- diff --git a/examples/find_all.c b/examples/find_all.c index 5ad40be..113904c 100644 --- a/examples/find_all.c +++ b/examples/find_all.c @@ -23,7 +23,7 @@ int main(void) return EXIT_FAILURE; } - if ((ret = ftdi_usb_find_all(&ftdic, &devlist, NULL, NULL)) < 0) + if ((ret = ftdi_usb_find_all(&ftdic, &devlist, 0, 0)) < 0) { fprintf(stderr, "ftdi_usb_find_all failed: %d (%s)\n", ret, ftdi_get_error_string(&ftdic)); retval = EXIT_FAILURE;