summaryrefslogtreecommitdiff
path: root/examples/sam3u_benchmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sam3u_benchmark.c')
-rw-r--r--examples/sam3u_benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sam3u_benchmark.c b/examples/sam3u_benchmark.c
index 8979775..ef7a669 100644
--- a/examples/sam3u_benchmark.c
+++ b/examples/sam3u_benchmark.c
@@ -191,7 +191,7 @@ int main(void)
(void)signal(SIGINT, sig_hdlr);
#endif
- rc = libusb_init(NULL);
+ rc = libusb_init_context(/*ctx=*/NULL, /*options=*/NULL, /*num_options=*/0);
if (rc < 0) {
fprintf(stderr, "Error initializing libusb: %s\n", libusb_error_name(rc));
exit(1);