From 1bc477228811f1ccab921c95c9a6729e2c89d257 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 14 Mar 2011 12:19:44 +0100 Subject: Set warning handler --- src/cameras/ipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cameras') 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)); -- cgit v1.2.3