summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/driver/mdso_unit_ctx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/mdso_unit_ctx.c b/src/driver/mdso_unit_ctx.c
index 1ab77ff..859db28 100644
--- a/src/driver/mdso_unit_ctx.c
+++ b/src/driver/mdso_unit_ctx.c
@@ -176,6 +176,9 @@ int mdso_get_unit_ctx(
else if (!(ctx = calloc(1,sizeof(*ctx))))
return MDSO_BUFFER_ERROR(dctx);
+ mdso_driver_set_ectx(
+ dctx,0,path);
+
if (strcmp(path,"-"))
fd = -1;