summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-14 12:19:44 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de>2011-03-14 12:19:44 +0100
commit1bc477228811f1ccab921c95c9a6729e2c89d257 (patch)
treed58840fb0616a65bb6fd5e2440f7f1d114e32b73 /src
parentaaa9488c5681a2d3dd12cc1a5275164ae6d5ab63 (diff)
downloaduca-1bc477228811f1ccab921c95c9a6729e2c89d257.tar.gz
uca-1bc477228811f1ccab921c95c9a6729e2c89d257.tar.bz2
uca-1bc477228811f1ccab921c95c9a6729e2c89d257.tar.xz
uca-1bc477228811f1ccab921c95c9a6729e2c89d257.zip
Set warning handler
Diffstat (limited to 'src')
-rw-r--r--src/cameras/ipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cameras/ipe.c b/src/cameras/ipe.c
index 193091a..d1a331c 100644
--- a/src/cameras/ipe.c
+++ b/src/cameras/ipe.c
@@ -107,7 +107,7 @@ uint32_t uca_ipe_init(struct uca_camera_t **cam, struct uca_grabber_t *grabber)
if (handle < 0)
return UCA_ERR_CAM_NOT_FOUND;
- pcilib_set_error_handler(&uca_ipe_handle_error);
+ pcilib_set_error_handler(&uca_ipe_handle_error, &uca_ipe_handle_error);
model = pcilib_get_model(handle);
struct uca_camera_t *uca = (struct uca_camera_t *) malloc(sizeof(struct uca_camera_t));