Commit 40447e80 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

ntdll: Print the SYSTEM_PERFORMANCE_INFORMATION only once.

parent 0c406bec
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment