https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8e51bb6510797f6e14439…
commit 8e51bb6510797f6e14439719515e762495a5fb95
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat Oct 27 10:04:22 2018 +0200
Commit: Pierre Schweitzer <pierre(a)reactos.org>
CommitDate: Sat Oct 27 10:04:22 2018 +0200
[NTOSKRNL] Reduce noise
---
ntoskrnl/config/cmapi.c | 6 +++---
ntoskrnl/io/iomgr/driver.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/ntoskrnl/config/cmapi.c b/ntoskrnl/config/cmapi.c
index 84e0f11b91..3b1455df1a 100644
--- a/ntoskrnl/config/cmapi.c
+++ b/ntoskrnl/config/cmapi.c
@@ -2363,9 +2363,9 @@ CmpEnumerateOpenSubKeys(
if (CachedKcb->RefCount > 0)
{
- DPRINT1("Found a sub key pointing to '%.*s',
RefCount = %u\n",
- CachedKcb->NameBlock->NameLength,
CachedKcb->NameBlock->Name,
- CachedKcb->RefCount);
+ DPRINT("Found a sub key pointing to '%.*s', RefCount
= %u\n",
+ CachedKcb->NameBlock->NameLength,
CachedKcb->NameBlock->Name,
+ CachedKcb->RefCount);
/* If we dereference opened KCBs, don't touch read-only keys
*/
if (DereferenceOpenedEntries &&
diff --git a/ntoskrnl/io/iomgr/driver.c b/ntoskrnl/io/iomgr/driver.c
index fc133b0489..4e1814dcab 100644
--- a/ntoskrnl/io/iomgr/driver.c
+++ b/ntoskrnl/io/iomgr/driver.c
@@ -1045,7 +1045,7 @@ IopInitializeBootDrivers(VOID)
NULL,
&BootEntry->RegistryPath,
KEY_READ);
- DPRINT1("IopOpenRegistryKeyEx(%wZ) returned 0x%08lx\n",
&BootEntry->RegistryPath, Status);
+ DPRINT("IopOpenRegistryKeyEx(%wZ) returned 0x%08lx\n",
&BootEntry->RegistryPath, Status);
#if 0
if (NT_SUCCESS(Status))
#else // Hack still needed...