From bb5e477926b1aa1732c862b34e3b515406b18bc5 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 26 Oct 2016 20:59:01 -0400 Subject: amgc_map_input(): added error trace support. --- include/apimagic/apimagic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/apimagic/apimagic.h b/include/apimagic/apimagic.h index 1d51bd9..462c2f1 100644 --- a/include/apimagic/apimagic.h +++ b/include/apimagic/apimagic.h @@ -201,7 +201,7 @@ amgc_api void amgc_free_driver_ctx (struct amgc_driver_ctx *); amgc_api int amgc_get_unit_ctx (const struct amgc_driver_ctx *, const char * path, struct amgc_unit_ctx **); amgc_api void amgc_free_unit_ctx (struct amgc_unit_ctx *); -amgc_api int amgc_map_input (int fd, const char * path, int prot, struct amgc_input *); +amgc_api int amgc_map_input (const struct amgc_driver_ctx *, int fd, const char * path, int prot, struct amgc_input *); amgc_api int amgc_unmap_input (struct amgc_input *); /* driver helper api */ -- cgit v1.2.3