diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/pe_amain.c | 2 | ||||
-rw-r--r-- | src/output/pe_output_image_category.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/driver/pe_amain.c b/src/driver/pe_amain.c index 5b86432..40eaf9d 100644 --- a/src/driver/pe_amain.c +++ b/src/driver/pe_amain.c @@ -53,7 +53,7 @@ static void pe_perform_unit_actions( uint64_t flags = dctx->cctx->fmtflags; if (flags & PERK_OUTPUT_IMAGE_CATEGORY) - pe_output_image_category(dctx,uctx,0); + pe_output_image_category(dctx,uctx->meta,0); if (flags & PERK_OUTPUT_EXPORT_SYMS) pe_output_export_symbols(dctx,uctx->meta,0); diff --git a/src/output/pe_output_image_category.c b/src/output/pe_output_image_category.c index 432b853..ccf25c4 100644 --- a/src/output/pe_output_image_category.c +++ b/src/output/pe_output_image_category.c @@ -12,14 +12,13 @@ int pe_output_image_category( const struct pe_driver_ctx * dctx, - const struct pe_unit_ctx * uctx, + const struct pe_image_meta * meta, FILE * fout) { struct pe_info_string abi; struct pe_info_string subtype; struct pe_info_string subsystem; struct pe_info_string framework; - const struct pe_image_meta * meta = uctx->meta; if (!fout) fout = stdout; |