about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--miasm2/arch/x86/jit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/x86/jit.py b/miasm2/arch/x86/jit.py
index a984cce8..5a9886c5 100644
--- a/miasm2/arch/x86/jit.py
+++ b/miasm2/arch/x86/jit.py
@@ -85,7 +85,7 @@ class jitter_x86_32(jitter):
         if ret_value1 is not None:
             self.cpu.EAX = ret_value1
         if ret_value2 is not None:
-            self.cpu.EDX = ret_value
+            self.cpu.EDX = ret_value2
 
     # cdecl
     @named_arguments