From 6ec731b65cb6525d04b86737ff85a3e77054ed36 Mon Sep 17 00:00:00 2001 From: Daniel Jelinski Date: Tue, 29 May 2012 21:49:35 +0200 Subject: [PATCH] ntdll: Add missing parameters to syscall call. --- dlls/ntdll/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c index 881d9613d2c..8f8fdcfad7f 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