summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-24 20:15:06 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:52 -0500
commit0e3fd6a8154ca4121f9eb958903e9e9ef9a4eb99 (patch)
treeeec68319ae074b0d084bd6f89bdf8ed6f0942d38 /src/driver
parent95fab3eca1fbce8fb3b42692ba990848af6848fa (diff)
downloadperk-0e3fd6a8154ca4121f9eb958903e9e9ef9a4eb99.tar.bz2
perk-0e3fd6a8154ca4121f9eb958903e9e9ef9a4eb99.tar.xz
pe_get_image_meta(): added error trace support.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/pe_unit_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/pe_unit_ctx.c b/src/driver/pe_unit_ctx.c
index 2b05707..76ee376 100644
--- a/src/driver/pe_unit_ctx.c
+++ b/src/driver/pe_unit_ctx.c
@@ -42,7 +42,7 @@ int pe_get_unit_ctx(
if (pe_map_raw_image(dctx->cctx->ioctx->fdin,path,prot,&ctx->map))
return pe_free_unit_ctx_impl(ctx,-1);
- if (pe_get_image_meta(&ctx->map,&ctx->meta))
+ if (pe_get_image_meta(dctx,&ctx->map,&ctx->meta))
return pe_free_unit_ctx_impl(ctx,-1);
memcpy(&ctx->cctx,dctx->cctx,