kernel32: Fix typo in SetProcessAffinityMask.

This commit is contained in:
Louis Lenders 2008-06-19 09:44:41 +00:00 committed by Alexandre Julliard
parent 122055effd
commit d9fa87382e
1 changed files with 1 additions and 1 deletions

View File

@ -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;