diff options
author | midipix <writeonce@midipix.org> | 2016-10-24 21:03:38 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:52 -0500 |
commit | ff121de13267c16601e7a71e6b8240406a37fb1b (patch) | |
tree | 1671f4b439122b5a6f00f275e1f6655c352dddc3 /src/logic | |
parent | 84192873bf59ccdb97cfd751130f072c258acbe7 (diff) | |
download | perk-ff121de13267c16601e7a71e6b8240406a37fb1b.tar.bz2 perk-ff121de13267c16601e7a71e6b8240406a37fb1b.tar.xz |
perk.h: enum pe_custom_error(): definition and integration.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/pe_get_image_meta.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c index 8d90353..6302f70 100644 --- a/src/logic/pe_get_image_meta.c +++ b/src/logic/pe_get_image_meta.c @@ -105,7 +105,7 @@ int pe_get_image_meta( if ((i >= 0) && (i != s)) return pe_free_image_meta_impl(m, - PERK_CUSTOM_ERROR(dctx,PERK_MALFORMED_IMAGE)); + PERK_CUSTOM_ERROR(dctx,PERK_ERR_IMAGE_MALFORMED)); if (s >= 0) { m->hedata = &m->sectbl[s]; @@ -128,7 +128,7 @@ int pe_get_image_meta( if ((i >= 0) && (i != s)) return pe_free_image_meta_impl(m, - PERK_CUSTOM_ERROR(dctx,PERK_MALFORMED_IMAGE)); + PERK_CUSTOM_ERROR(dctx,PERK_ERR_IMAGE_MALFORMED)); if (s >= 0) { m->hidata = &m->sectbl[s]; |