From 8e51bb6510797f6e14439719515e762495a5fb95 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sat, 27 Oct 2018 10:04:22 +0200 Subject: [PATCH] [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 84e0f11b919..3b1455df1ad 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 fc133b0489e..4e1814dcabf 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...