kernel32/tests: Fix uninitialized memory of a test case.
This commit is contained in:
parent
4f06425a03
commit
98aa8528d5
|
@ -851,7 +851,8 @@ static void test_GetSystemTimes(void)
|
|||
sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION) * sbi.NumberOfProcessors);
|
||||
|
||||
ok( !NtQuerySystemInformation( SystemProcessorPerformanceInformation, sppi,
|
||||
sizeof(*sppi), &ReturnLength),
|
||||
sizeof(SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION) * sbi.NumberOfProcessors,
|
||||
&ReturnLength),
|
||||
"NtQuerySystemInformation failed\n" );
|
||||
|
||||
for (i = 0; i < sbi.NumberOfProcessors; i++)
|
||||
|
|
Loading…
Reference in New Issue