summaryrefslogtreecommitdiff
path: root/src/reader/pe_read_dos_header.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reader/pe_read_dos_header.c')
-rw-r--r--src/reader/pe_read_dos_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader/pe_read_dos_header.c b/src/reader/pe_read_dos_header.c
index 0fd0367..7aa9ba5 100644
--- a/src/reader/pe_read_dos_header.c
+++ b/src/reader/pe_read_dos_header.c
@@ -13,7 +13,7 @@
int pe_read_dos_header(const struct pe_image_dos_hdr * p, struct pe_meta_image_dos_hdr * m)
{
if ((p->dos_magic[0] != 'M') || (p->dos_magic[1] != 'Z'))
- return PERK_BAD_DOS_HEADER;
+ return PERK_ERR_BAD_DOS_HEADER;
if (PERK_LITTLE_ENDIAN) {