summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-04-20 22:15:00 +0000
committermidipix <writeonce@midipix.org>2021-04-20 19:27:28 +0000
commit00bc9c19cdd57be69d8ab8ac9d0459efc25aab6a (patch)
tree5119dc7a1bbaded22aebdffc79c9af493e095206 /include
parent25a377af92d753ba157274e2b8ee630372c0619d (diff)
downloadtpax-00bc9c19cdd57be69d8ab8ac9d0459efc25aab6a.tar.bz2
tpax-00bc9c19cdd57be69d8ab8ac9d0459efc25aab6a.tar.xz
driver: tpax_get_unit_ctx(): support paths relative to an arbitrary location.
Diffstat (limited to 'include')
-rw-r--r--include/tpax/tpax.h2
1 files changed, 1 insertions, 1 deletions
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 *);