summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-25 20:36:17 -0400
committermidipix <writeonce@midipix.org>2016-11-11 00:22:51 -0500
commit73d16e081258950bcf47b65f423d2637f2d72b9a (patch)
tree6175385c87baa03f448ccdebf2d313ce370ab1b4 /src/driver
parenta8dd47f0c2a59c59e325b8421db6f108e4dc9917 (diff)
downloadmdso-73d16e081258950bcf47b65f423d2637f2d72b9a.tar.bz2
mdso-73d16e081258950bcf47b65f423d2637f2d72b9a.tar.xz
driver: mdso_get_unit_ctx(): set driver error context.
Diffstat (limited to 'src/driver')
-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;