ntdll: Print the SYSTEM_PERFORMANCE_INFORMATION only once.

This commit is contained in:
Stefan Dösinger 2008-11-28 15:33:34 +01:00 committed by Alexandre Julliard
parent 0c406bec45
commit 40447e804d
1 changed files with 5 additions and 1 deletions

View File

@ -742,6 +742,7 @@ NTSTATUS WINAPI NtQuerySystemInformation(
case SystemPerformanceInformation:
{
SYSTEM_PERFORMANCE_INFORMATION spi;
static BOOL fixme_written = FALSE;
memset(&spi, 0 , sizeof(spi));
len = sizeof(spi);
@ -752,7 +753,10 @@ NTSTATUS WINAPI NtQuerySystemInformation(
else memcpy( SystemInformation, &spi, len);
}
else ret = STATUS_INFO_LENGTH_MISMATCH;
if(!fixme_written) {
FIXME("info_class SYSTEM_PERFORMANCE_INFORMATION\n");
fixme_written = TRUE;
}
}
break;
case SystemTimeOfDayInformation: