From 10ed9621e44cd48e04d1a3f0e0adb5fc288858ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 22 Apr 2018 02:42:04 +0200 Subject: [PATCH] [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 45c1b07d276..06c7de8c751 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); } /*