summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-26 22:15:56 -0400
committermidipix <writeonce@midipix.org>2016-10-26 22:23:17 -0400
commit8fca74cc1815c2816745bfac83cce30654cb9776 (patch)
tree5eec0c126610e279898a163004636793a059ccfc /src/driver
parent4aebb45a7bdb9e4e0941b237ce4c7b37a79f205c (diff)
downloadapimagic-8fca74cc1815c2816745bfac83cce30654cb9776.tar.bz2
apimagic-8fca74cc1815c2816745bfac83cce30654cb9776.tar.xz
internals: struct amgc_unit_ctx_impl: added error trace support.
Diffstat (limited to 'src/driver')
-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;