From 40447e804d6f60c6c9b4a0b415a39d1593338cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Fri, 28 Nov 2008 15:33:34 +0100 Subject: [PATCH] ntdll: Print the SYSTEM_PERFORMANCE_INFORMATION only once. --- dlls/ntdll/nt.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index 3f365bc9708..c593f45e199 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -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; - FIXME("info_class SYSTEM_PERFORMANCE_INFORMATION\n"); + if(!fixme_written) { + FIXME("info_class SYSTEM_PERFORMANCE_INFORMATION\n"); + fixme_written = TRUE; + } } break; case SystemTimeOfDayInformation: