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,
|
||||
&affmask, sizeof(DWORD_PTR));
|
||||
if (!status)
|
||||
if (status)
|
||||
{
|
||||
SetLastError( RtlNtStatusToDosError(status) );
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue