Commit d9fa8738 authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

kernel32: Fix typo in SetProcessAffinityMask.

parent 122055ef
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment