summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/pe_amain.c4
-rw-r--r--src/driver/pe_driver_ctx.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/driver/pe_amain.c b/src/driver/pe_amain.c
index d23e9fe..3096561 100644
--- a/src/driver/pe_amain.c
+++ b/src/driver/pe_amain.c
@@ -62,8 +62,8 @@ static void pe_perform_unit_actions(
int fpara = 0;
uint64_t flags = dctx->cctx->fmtflags;
- if (flags & PERK_OUTPUT_IMAGE_TYPE)
- pe_output_image_type(dctx,uctx,0);
+ if (flags & PERK_OUTPUT_IMAGE_CATEGORY)
+ pe_output_image_category(dctx,uctx,0);
if (flags & PERK_OUTPUT_EXPORT_SYMS) {
pe_output_export_symbols(dctx,uctx->meta,0);
diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c
index 8ca3ba6..32faa7d 100644
--- a/src/driver/pe_driver_ctx.c
+++ b/src/driver/pe_driver_ctx.c
@@ -160,8 +160,8 @@ int pe_get_driver_ctx(
pretty = entry->arg;
break;
- case TAG_IMGTYPE:
- cctx.fmtflags |= PERK_OUTPUT_IMAGE_TYPE;
+ case TAG_CATEGORY:
+ cctx.fmtflags |= PERK_OUTPUT_IMAGE_CATEGORY;
break;
case TAG_SECTIONS: