summaryrefslogtreecommitdiff
path: root/src/driver/amgc_unit_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/amgc_unit_ctx.c')
-rw-r--r--src/driver/amgc_unit_ctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/driver/amgc_unit_ctx.c b/src/driver/amgc_unit_ctx.c
index cfc2c0b..40f4257 100644
--- a/src/driver/amgc_unit_ctx.c
+++ b/src/driver/amgc_unit_ctx.c
@@ -169,6 +169,7 @@ int amgc_get_unit_ctx(
memcpy(&ctx->cctx,dctx->cctx,
sizeof(ctx->cctx));
+ ctx->dctx = dctx;
ctx->path = path;
ctx->uctx.path = &ctx->path;
ctx->uctx.map = &ctx->map;