https://git.reactos.org/?p=reactos.git;a=commitdiff;h=10ed9621e44cd48e04d1a…
commit 10ed9621e44cd48e04d1a3f0e0adb5fc288858ca
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sun Apr 22 02:42:04 2018 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Apr 22 02:53:40 2018 +0200
[EVTLIB] Silence some DPRINTs.
---
sdk/lib/evtlib/evtlib.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sdk/lib/evtlib/evtlib.c b/sdk/lib/evtlib/evtlib.c
index 45c1b07d27..06c7de8c75 100644
--- a/sdk/lib/evtlib/evtlib.c
+++ b/sdk/lib/evtlib/evtlib.c
@@ -828,7 +828,7 @@ Continue:
if (LogFile->Header.MaxSize - NextOffset.QuadPart <
sizeof(EVENTLOGRECORD))
{
/* Wrap to the beginning of the log */
- DPRINT1("Wrap!\n");
+ DPRINT("Wrap!\n");
NextOffset.QuadPart = sizeof(EVENTLOGHEADER);
}
@@ -838,7 +838,7 @@ Continue:
*/
if (FileOffset.QuadPart > NextOffset.QuadPart)
{
- DPRINT1("Wrapping = TRUE;\n");
+ DPRINT("Wrapping = TRUE;\n");
Wrapping = TRUE;
}
@@ -1474,10 +1474,10 @@ ElfWriteRecord(
LogFile->Header.EndOffset = WriteOffset;
}
- DPRINT1("MaxSize = 0x%x, StartOffset = 0x%x, WriteOffset = 0x%x, EndOffset =
0x%x, BufSize = 0x%x\n"
- "OldestRecordNumber = %d\n",
- LogFile->Header.MaxSize, LogFile->Header.StartOffset, WriteOffset,
LogFile->Header.EndOffset, BufSize,
- OldestRecordNumber);
+ EVTLTRACE("MaxSize = 0x%x, StartOffset = 0x%x, WriteOffset = 0x%x, EndOffset
= 0x%x, BufSize = 0x%x\n"
+ "OldestRecordNumber = %d\n",
+ LogFile->Header.MaxSize, LogFile->Header.StartOffset,
WriteOffset, LogFile->Header.EndOffset, BufSize,
+ OldestRecordNumber);
}
/*