https://git.reactos.org/?p=reactos.git;a=commitdiff;h=74be88ac473425fc99e9a…
commit 74be88ac473425fc99e9a363ba8cd604702262bf
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Mon May 27 12:17:16 2019 +0200
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Mon May 27 13:24:28 2019 +0200
[LDR] Silence some debug logs when images overlap
---
dll/ntdll/ldr/ldrutils.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/ntdll/ldr/ldrutils.c b/dll/ntdll/ldr/ldrutils.c
index 75fc45fd92..1011a85046 100644
--- a/dll/ntdll/ldr/ldrutils.c
+++ b/dll/ntdll/ldr/ldrutils.c
@@ -1332,7 +1332,7 @@ SkipCheck:
ImageBase = (ULONG_PTR)NtHeaders->OptionalHeader.ImageBase;
ImageEnd = ImageBase + ViewSize;
- DPRINT1("LDR: LdrpMapDll Relocating Image Name %ws (%p-%p -> %p)\n",
DllName, (PVOID)ImageBase, (PVOID)ImageEnd, ViewBase);
+ DPRINT("LDR: LdrpMapDll Relocating Image Name %ws (%p-%p -> %p)\n",
DllName, (PVOID)ImageBase, (PVOID)ImageEnd, ViewBase);
/* Scan all the modules */
ListHead = &Peb->Ldr->InLoadOrderModuleList;
@@ -1371,7 +1371,7 @@ SkipCheck:
RtlInitUnicodeString(&OverlapDll, L"Dynamically Allocated
Memory");
}
- DPRINT1("Overlapping DLL: %wZ\n", &OverlapDll);
+ DPRINT("Overlapping DLL: %wZ\n", &OverlapDll);
/* Are we dealing with a DLL? */
if (LdrEntry->Flags & LDRP_IMAGE_DLL)