[KERNEL32]

Fix c/p mistake.
Brought to you by Vincenzo Cotugno

svn path=/trunk/; revision=54306
This commit is contained in:
Pierre Schweitzer 2011-11-06 00:09:33 +00:00
parent 32212570af
commit 485d80b662

View file

@ -132,7 +132,7 @@ QueryInformationJobObject(IN HANDLE hJob,
ExpectedSize = sizeof(JOBOBJECT_BASIC_LIMIT_INFORMATION);
JobInfo = &LocalInfo;
}
else if (JobObjectInformationClass == JobObjectBasicLimitInformation)
else if (JobObjectInformationClass == JobObjectExtendedLimitInformation)
{
ExpectedSize = sizeof(JOBOBJECT_EXTENDED_LIMIT_INFORMATION);
JobInfo = &LocalInfo;
@ -226,7 +226,7 @@ SetInformationJobObject(IN HANDLE hJob,
ExpectedSize = sizeof(JOBOBJECT_BASIC_LIMIT_INFORMATION);
JobInfo = &LocalInfo;
}
else if (JobObjectInformationClass == JobObjectBasicLimitInformation)
else if (JobObjectInformationClass == JobObjectExtendedLimitInformation)
{
ExpectedSize = sizeof(JOBOBJECT_EXTENDED_LIMIT_INFORMATION);
JobInfo = &LocalInfo;