about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xmiasm/tools/hook_helper.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/miasm/tools/hook_helper.py b/miasm/tools/hook_helper.py
index 063d5444..10b0256b 100755
--- a/miasm/tools/hook_helper.py
+++ b/miasm/tools/hook_helper.py
@@ -74,12 +74,12 @@ class hooks():
         
             ;; create lock
             push my_critic_sec
-            call [initializecriticalsection]
+            call [InitializeCriticalSection]
             
         write_file_2:
             ;; lock
             push my_critic_sec
-            call [entercriticalsection]
+            call [EnterCriticalSection]
         
             
             ;; write log name
@@ -131,7 +131,7 @@ class hooks():
         
             ;; unlock
             push my_critic_sec
-            call [leavecriticalsection]
+            call [LeaveCriticalSection]
         
         
             popad