summaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-03-25 12:11:05 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-03-25 12:11:05 +0100
commita5fc8db4f29a38089c5f81433b90702ef7db60d1 (patch)
tree33dc7752f4426c77afe5f018caeb2212f17d2fe6 /cli.c
parentd1a6c3d98b3f62166b044ff1490589c11846bf6e (diff)
downloadpcitool-a5fc8db4f29a38089c5f81433b90702ef7db60d1.tar.gz
pcitool-a5fc8db4f29a38089c5f81433b90702ef7db60d1.tar.bz2
pcitool-a5fc8db4f29a38089c5f81433b90702ef7db60d1.tar.xz
pcitool-a5fc8db4f29a38089c5f81433b90702ef7db60d1.zip
Fix exiting on warnings
Diffstat (limited to 'cli.c')
-rw-r--r--cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli.c b/cli.c
index 5ab0962..16151fc 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, &Error);
+ pcilib_set_error_handler(&Error, NULL);
handle = pcilib_open(fpga_device, model);
if (handle < 0) Error("Failed to open FPGA device: %s", fpga_device);