summaryrefslogtreecommitdiffhomepage
path: root/src/logic
diff options
context:
space:
mode:
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/pe_map_raw_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/pe_map_raw_image.c b/src/logic/pe_map_raw_image.c
index d93e605..98cf584 100644
--- a/src/logic/pe_map_raw_image.c
+++ b/src/logic/pe_map_raw_image.c
@@ -18,7 +18,7 @@ int pe_map_raw_image(
bool fnew;
int ret;
- if (fnew = (fd < 0))
+ if ((fnew = (fd < 0)))
fd = open(path,O_RDONLY | O_CLOEXEC);
if (fd < 0)