ntdll: Add missing parameters to syscall call.
This commit is contained in:
parent
bb23d63663
commit
6ec731b65c
|
@ -1188,7 +1188,7 @@ ULONG WINAPI NtGetCurrentProcessorNumber(void)
|
||||||
ULONG processor;
|
ULONG processor;
|
||||||
|
|
||||||
#if defined(__linux__) && defined(__NR_getcpu)
|
#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;
|
if (res != -1) return processor;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue