diff options
author | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-14 12:16:51 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-14 12:16:51 +0100 |
commit | 30998baf652d4e66a92cd912519f9358be2cf628 (patch) | |
tree | e217ac116dde77b182df5683bdfb657f925461ff /cli.c | |
parent | 6f7f9467f76b21d418de8a4dafeac1ec4516e8d5 (diff) | |
download | pcitool-30998baf652d4e66a92cd912519f9358be2cf628.tar.gz pcitool-30998baf652d4e66a92cd912519f9358be2cf628.tar.bz2 pcitool-30998baf652d4e66a92cd912519f9358be2cf628.tar.xz pcitool-30998baf652d4e66a92cd912519f9358be2cf628.zip |
Set warning handler
Diffstat (limited to 'cli.c')
-rw-r--r-- | cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |