diff options
author | midipix <writeonce@midipix.org> | 2016-10-24 20:38:27 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:52 -0500 |
commit | 9a46b6d0483006a8b6e25d2f33f393ec6f16808f (patch) | |
tree | e6b105a4d91271a9617194e6303049901838d2da /src/driver | |
parent | 9b7081116d8da0807045911704449a65217211c3 (diff) | |
download | perk-9a46b6d0483006a8b6e25d2f33f393ec6f16808f.tar.bz2 perk-9a46b6d0483006a8b6e25d2f33f393ec6f16808f.tar.xz |
pe_map_raw_image(): added error trace support.
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/pe_unit_ctx.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |