Stefan Dösinger : ntdll: Print the SYSTEM_PERFORMANCE_INFORMATION only once.
Alexandre Julliard
julliard at winehq.org
Tue Dec 9 06:25:16 CST 2008
Module: wine
Branch: master
Commit: 40447e804d6f60c6c9b4a0b415a39d1593338cba
URL: http://source.winehq.org/git/wine.git/?a=commit;h=40447e804d6f60c6c9b4a0b415a39d1593338cba
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Fri Nov 28 15:33:34 2008 +0100
ntdll: Print the SYSTEM_PERFORMANCE_INFORMATION only once.
---
dlls/ntdll/nt.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index 3f365bc..c593f45 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:
More information about the wine-cvs
mailing list