From 73d16e081258950bcf47b65f423d2637f2d72b9a Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 25 Oct 2016 20:36:17 -0400 Subject: driver: mdso_get_unit_ctx(): set driver error context. --- src/driver/mdso_unit_ctx.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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; -- cgit v1.2.3