From 00bc9c19cdd57be69d8ab8ac9d0459efc25aab6a Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 20 Apr 2021 22:15:00 +0000 Subject: driver: tpax_get_unit_ctx(): support paths relative to an arbitrary location. --- include/tpax/tpax.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/tpax/tpax.h b/include/tpax/tpax.h index 8897818..17fe7d8 100644 --- a/include/tpax/tpax.h +++ b/include/tpax/tpax.h @@ -141,7 +141,7 @@ tpax_api int tpax_get_driver_ctx (char ** argv, char ** envp, uint32_t fl tpax_api void tpax_free_driver_ctx (struct tpax_driver_ctx *); -tpax_api int tpax_get_unit_ctx (const struct tpax_driver_ctx *, const char * path, +tpax_api int tpax_get_unit_ctx (const struct tpax_driver_ctx *, int, const char * path, struct tpax_unit_ctx **); tpax_api void tpax_free_unit_ctx (struct tpax_unit_ctx *); -- cgit v1.2.3