kernel32/tests: Fix uninitialized memory of a test case.

This commit is contained in:
Thomas Faller 2015-09-07 15:09:35 +02:00 committed by Alexandre Julliard
parent 4f06425a03
commit 98aa8528d5
1 changed files with 2 additions and 1 deletions

View File

@ -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++)