kernel32: Fix typo in SetProcessAffinityMask.
This commit is contained in:
parent
122055effd
commit
d9fa87382e
|
@ -2751,7 +2751,7 @@ BOOL WINAPI SetProcessAffinityMask( HANDLE hProcess, DWORD_PTR affmask )
|
||||||
|
|
||||||
status = NtSetInformationProcess(hProcess, ProcessAffinityMask,
|
status = NtSetInformationProcess(hProcess, ProcessAffinityMask,
|
||||||
&affmask, sizeof(DWORD_PTR));
|
&affmask, sizeof(DWORD_PTR));
|
||||||
if (!status)
|
if (status)
|
||||||
{
|
{
|
||||||
SetLastError( RtlNtStatusToDosError(status) );
|
SetLastError( RtlNtStatusToDosError(status) );
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in New Issue