about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2011-10-14 09:28:06 +0200
committerserpilliere <devnull@localhost>2011-10-14 09:28:06 +0200
commitca1c0faf36e780922b04d3cf844a193529974bbd (patch)
tree35078c46b8e25f39b7788113839f0aaf0e24bb1c
parentda6bd4de7b486e96a65671c20181b092fecca191 (diff)
downloadmiasm-ca1c0faf36e780922b04d3cf844a193529974bbd.tar.gz
miasm-ca1c0faf36e780922b04d3cf844a193529974bbd.zip
fix tipo in hook engine
-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