From a449eb3e0e0a09fef57d1ef7e841e2080db7b644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Mon, 18 Aug 2025 18:09:19 +0200 Subject: [PATCH] [NTOS:PS] Improve some PspCatchCriticalBreak() messages --- ntoskrnl/ps/kill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ntoskrnl/ps/kill.c b/ntoskrnl/ps/kill.c index 4a746492486..236e2033eb8 100644 --- a/ntoskrnl/ps/kill.c +++ b/ntoskrnl/ps/kill.c @@ -623,7 +623,7 @@ PspExitThread(IN NTSTATUS ExitStatus) if (KdDebuggerEnabled) { /* Break to debugger */ - PspCatchCriticalBreak("Critical process 0x%p (in %s) exited\n", + PspCatchCriticalBreak("Critical process 0x%p (%s) exited\n", CurrentProcess, CurrentProcess->ImageFileName); } @@ -1000,7 +1000,7 @@ PspTerminateThreadByPointer(IN PETHREAD Thread, if (Thread->BreakOnTermination) { /* Break to debugger */ - PspCatchCriticalBreak("Terminating critical thread 0x%p (%s)\n", + PspCatchCriticalBreak("Terminating critical thread 0x%p (in %s)\n", Thread, Thread->ThreadsProcess->ImageFileName); }