summaryrefslogtreecommitdiffstats
path: root/src/file_exe.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-05-11 09:25:39 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-05-11 09:25:39 +0200
commite1ca4010307fb53d83c5036f6c8269eb9066c928 (patch)
tree79a9547954c70be7ddc88324990d60a163ffb16d /src/file_exe.c
parentf63304053aa32515e4853c2472fb785bcda0307c (diff)
remove always-true memcmp
Diffstat (limited to 'src/file_exe.c')
-rw-r--r--src/file_exe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_exe.c b/src/file_exe.c
index 17097db..05aa35b 100644
--- a/src/file_exe.c
+++ b/src/file_exe.c
@@ -138,7 +138,7 @@ static int header_check_exe(const unsigned char *buffer, const unsigned int buff
if(le16(pe_image_section->NumberOfRelocations)>0)
{
#ifdef DEBUG_EXE
- log_debug("relocations 0x%lx-0x%lx\n",
+ log_debug("relocations 0x%lx-0x%lx\n",
(unsigned long)le32(pe_image_section->PointerToRelocations),
(unsigned long)le32(pe_image_section->PointerToRelocations)+1*le16(pe_image_section->NumberOfRelocations)-1);
#endif