Daniel Jelinski : ntdll: Add missing parameters to syscall call.
Module: wine Branch: master Commit: 6ec731b65cb6525d04b86737ff85a3e77054ed36 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6ec731b65cb6525d04b86737ff... Author: Daniel Jelinski <djelinski1(a)gmail.com> Date: Tue May 29 21:49:35 2012 +0200 ntdll: Add missing parameters to syscall call. --- dlls/ntdll/thread.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c index 881d961..8f8fdcf 100644 --- a/dlls/ntdll/thread.c +++ b/dlls/ntdll/thread.c @@ -1188,7 +1188,7 @@ ULONG WINAPI NtGetCurrentProcessorNumber(void) ULONG processor; #if defined(__linux__) && defined(__NR_getcpu) - int res = syscall(__NR_getcpu, &processor); + int res = syscall(__NR_getcpu, &processor, NULL, NULL); if (res != -1) return processor; #endif
participants (1)
-
Alexandre Julliard