From 35ac57123b3493bcd43c9920e5517ddda1de8e3d Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Tue, 5 Jul 2011 18:03:48 +0200 Subject: [PATCH] examples/find-all: Use the new "find-all" option --- examples/find_all.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; -- 1.7.1