summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-26 20:59:01 -0400
committermidipix <writeonce@midipix.org>2016-10-26 22:10:27 -0400
commitbb5e477926b1aa1732c862b34e3b515406b18bc5 (patch)
treefe4a42d5701f3409478ee9a111da50dcc98fce7d /src/driver
parentbbcd7d3ba187f5b2f4ecec766436d36514a34ce4 (diff)
downloadapimagic-bb5e477926b1aa1732c862b34e3b515406b18bc5.tar.bz2
apimagic-bb5e477926b1aa1732c862b34e3b515406b18bc5.tar.xz
amgc_map_input(): added error trace support.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/amgc_unit_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/amgc_unit_ctx.c b/src/driver/amgc_unit_ctx.c
index 7e265c0..54824e1 100644
--- a/src/driver/amgc_unit_ctx.c
+++ b/src/driver/amgc_unit_ctx.c
@@ -132,7 +132,7 @@ int amgc_get_unit_ctx(
else
ctx->ccunit.input = ftmp;
- if (amgc_map_input(fd,path,PROT_READ,&ctx->map))
+ if (amgc_map_input(dctx,fd,path,PROT_READ,&ctx->map))
return amgc_free_unit_ctx_impl(ctx,-1);
if (fd > 0)