From 30998baf652d4e66a92cd912519f9358be2cf628 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 14 Mar 2011 12:16:51 +0100 Subject: Set warning handler --- cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli.c') diff --git a/cli.c b/cli.c index 6301a01..5ab0962 100644 --- a/cli.c +++ b/cli.c @@ -655,7 +655,7 @@ int main(int argc, char **argv) { else Usage(argc, argv, NULL); } - pcilib_set_error_handler(&Error); + pcilib_set_error_handler(&Error, &Error); handle = pcilib_open(fpga_device, model); if (handle < 0) Error("Failed to open FPGA device: %s", fpga_device); -- cgit v1.2.3