From 0156668176fc049c84008d07c9202326f21bf467 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 7 Aug 2010 21:22:00 +0000 Subject: [PATCH] [NTOSKRNL] Deferred success... svn path=/trunk/; revision=48480 --- reactos/ntoskrnl/kd/kdio.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/reactos/ntoskrnl/kd/kdio.c b/reactos/ntoskrnl/kd/kdio.c index 77531f31611..db48c31e227 100644 --- a/reactos/ntoskrnl/kd/kdio.c +++ b/reactos/ntoskrnl/kd/kdio.c @@ -350,13 +350,8 @@ KdpPrintString(LPSTR String, { PLIST_ENTRY CurrentEntry; PKD_DISPATCH_TABLE CurrentTable; - CHAR Buffer[32]; - if (!KdpDebugMode.Value) return 0; - /* Build process name and PID/TID buffer */ - sprintf(Buffer, "[%s (%p:%p)]: ", - PsGetCurrentProcess()->ImageFileName, - PsGetCurrentProcessId(), PsGetCurrentThreadId()); + if (!KdpDebugMode.Value) return 0; /* Call the registered handlers */ CurrentEntry = KdProviders.Flink; @@ -366,9 +361,6 @@ KdpPrintString(LPSTR String, CurrentTable = CONTAINING_RECORD(CurrentEntry, KD_DISPATCH_TABLE, KdProvidersList); - - /* Send the process name */ - CurrentTable->KdpPrintRoutine(Buffer, sizeof(Buffer)); /* Call it */ CurrentTable->KdpPrintRoutine(String, Length); @@ -379,13 +371,7 @@ KdpPrintString(LPSTR String, /* Call the Wrapper Routine */ if (WrapperTable.KdpPrintRoutine) - { - /* Send the process name */ - WrapperTable.KdpPrintRoutine(Buffer, sizeof(Buffer)); - - /* Send the message */ WrapperTable.KdpPrintRoutine(String, Length); - } /* Return the Length */ return Length;