From daa02beb2c679c3deb2fbca5e0aefb27f0813ec7 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 8 Apr 2009 21:52:36 +0000 Subject: [PATCH] Use vDbgPrintExWithPrefix in EngDebugPrint instead of using DbgPrint and always printing the address of the va_list plus random crap.... svn path=/trunk/; revision=40423 --- reactos/subsystems/win32/win32k/eng/debug.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/reactos/subsystems/win32/win32k/eng/debug.c b/reactos/subsystems/win32/win32k/eng/debug.c index 30d37e757ee..42b01a4e094 100644 --- a/reactos/subsystems/win32/win32k/eng/debug.c +++ b/reactos/subsystems/win32/win32k/eng/debug.c @@ -40,8 +40,11 @@ EngDebugPrint(PCHAR StandardPrefix, PCHAR DebugMessage, va_list ap) { - DbgPrint(StandardPrefix); - DbgPrint(DebugMessage, ap); - DbgPrint("\n"); + vDbgPrintExWithPrefix(StandardPrefix, + -1, + DPFLTR_ERROR_LEVEL, + DebugMessage, + ap); } + /* EOF */