diff options
author | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-14 12:19:44 +0100 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@ipe.fzk.de> | 2011-03-14 12:19:44 +0100 |
commit | 1bc477228811f1ccab921c95c9a6729e2c89d257 (patch) | |
tree | d58840fb0616a65bb6fd5e2440f7f1d114e32b73 | |
parent | aaa9488c5681a2d3dd12cc1a5275164ae6d5ab63 (diff) | |
download | libuca-1bc477228811f1ccab921c95c9a6729e2c89d257.tar.gz libuca-1bc477228811f1ccab921c95c9a6729e2c89d257.tar.bz2 libuca-1bc477228811f1ccab921c95c9a6729e2c89d257.tar.xz libuca-1bc477228811f1ccab921c95c9a6729e2c89d257.zip |
Set warning handler
-rw-r--r-- | src/cameras/ipe.c | 2 |
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)); |