about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-11-15 20:43:27 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-11-15 20:43:27 +0100
commit5f44fbfbdce50b7f1a2212647a83765fd774c5e1 (patch)
treeb738fd26adc6aa6b2ff94d890005a5d28b429139
parentd7316f0e60be635f6c3451b83f47f0c0b79a3721 (diff)
downloadmiasm-5f44fbfbdce50b7f1a2212647a83765fd774c5e1.tar.gz
miasm-5f44fbfbdce50b7f1a2212647a83765fd774c5e1.zip
Os_dep: fix swastartup
-rw-r--r--miasm2/os_dep/win_api_x86_32.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/os_dep/win_api_x86_32.py b/miasm2/os_dep/win_api_x86_32.py
index 2f557c52..c6bfc468 100644
--- a/miasm2/os_dep/win_api_x86_32.py
+++ b/miasm2/os_dep/win_api_x86_32.py
@@ -2129,7 +2129,7 @@ def user32_GetSystemMetrics(jitter):
 
 
 def wsock32_WSAStartup(jitter):
-    ret_ad, args = jitter.func_args_stdcall(["version, pwsadata"])
+    ret_ad, args = jitter.func_args_stdcall(["version", "pwsadata"])
     jitter.vm.set_mem(args.pwsadata, "\x01\x01\x02\x02WinSock 2.0\x00")
     jitter.func_ret_stdcall(ret_ad, 0)