http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c406be
)
ntdll: Print the SYSTEM_PERFORMANCE_INFORMATION only once.
author
Stefan Dösinger
<stefan@codeweavers.com>
Fri, 28 Nov 2008 14:33:34 +0000
(15:33 +0100)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 9 Dec 2008 11:46:52 +0000
(12:46 +0100)
dlls/ntdll/nt.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/ntdll/nt.c
b/dlls/ntdll/nt.c
index 3f365bc970868b7c7866bbfe276c70e463aa55d8..c593f45e1992fa90d3cfe7a297355add6ccf9f03 100644
(file)
--- 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: