From bb5e477926b1aa1732c862b34e3b515406b18bc5 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 26 Oct 2016 20:59:01 -0400 Subject: amgc_map_input(): added error trace support. --- src/driver/amgc_unit_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/driver') 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) -- cgit v1.2.3