From 69474b31902a0417fd8fe09c9412dc024f90721d Mon Sep 17 00:00:00 2001 From: Ahmed Arif Date: Tue, 16 Jun 2026 17:06:18 +0200 Subject: [PATCH] [NTOS:OB] Replace the joke debug print in NtWaitForMultipleObjects with a proper diagnostic (#9163) Addendum to commit f543c860f7c855c94d072f161dbeb7aa41deba91 (r69399). --- ntoskrnl/ob/obwait.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntoskrnl/ob/obwait.c b/ntoskrnl/ob/obwait.c index 7c7cabfa27b..9efdc58b621 100644 --- a/ntoskrnl/ob/obwait.c +++ b/ntoskrnl/ob/obwait.c @@ -115,7 +115,7 @@ NtWaitForMultipleObjects(IN ULONG ObjectCount, if (PreviousMode == KernelMode) { /* But don't fail silently */ - DbgPrint("Mon dieu! Covering up for BAD driver passing invalid pointer (0x%p)! Hon hon hon!\n", HandleArray); + DPRINT1("Kernel-mode caller passed an invalid HandleArray pointer (0x%p)\n", HandleArray); } /* Return the exception code */