From 9a46b6d0483006a8b6e25d2f33f393ec6f16808f Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 24 Oct 2016 20:38:27 -0400 Subject: pe_map_raw_image(): added error trace support. --- src/driver/pe_unit_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/driver') diff --git a/src/driver/pe_unit_ctx.c b/src/driver/pe_unit_ctx.c index 2ea690e..5330659 100644 --- a/src/driver/pe_unit_ctx.c +++ b/src/driver/pe_unit_ctx.c @@ -43,7 +43,7 @@ int pe_get_unit_ctx( ? PROT_READ | PROT_WRITE : PROT_READ; - if (pe_map_raw_image(dctx->cctx->ioctx->fdin,path,prot,&ctx->map)) + if (pe_map_raw_image(dctx,dctx->cctx->ioctx->fdin,path,prot,&ctx->map)) return pe_free_unit_ctx_impl(ctx, PERK_SYSTEM_ERROR(dctx)); -- cgit v1.2.3