From 47a21b92c285ac4d5f4b1b9faf757311269725fd Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 25 Oct 2016 22:59:07 -0400 Subject: sfrt_map_input(): added error trace support. --- include/sofort/sofort.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/sofort/sofort.h b/include/sofort/sofort.h index 76b8b70..c5f278a 100644 --- a/include/sofort/sofort.h +++ b/include/sofort/sofort.h @@ -119,7 +119,7 @@ sfrt_api void sfrt_free_driver_ctx (struct sfrt_driver_ctx *); sfrt_api int sfrt_get_unit_ctx (const struct sfrt_driver_ctx *, const char * path, struct sfrt_unit_ctx **); sfrt_api void sfrt_free_unit_ctx (struct sfrt_unit_ctx *); -sfrt_api int sfrt_map_input (int fd, const char * path, int prot, struct sfrt_input *); +sfrt_api int sfrt_map_input (const struct sfrt_driver_ctx *, int fd, const char * path, int prot, struct sfrt_input *); sfrt_api int sfrt_unmap_input (struct sfrt_input *); /* utility api */ -- cgit v1.2.3