From 04a96186b47e69c186569beea3ec919557e71cdb Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Fri, 15 Sep 2006 10:45:53 +0000 Subject: [PATCH] Revert a change in debug.h introduced in 19329 by Hartmut Birr. Freeldr's debug output doesn't expect any DbgPrint call to result in a "__FILE__:__LINE__ output_string" substitution. Now FreeLdr's debug output looks good again. svn path=/trunk/; revision=24131 --- reactos/boot/freeldr/freeldr/include/debug.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/reactos/boot/freeldr/freeldr/include/debug.h b/reactos/boot/freeldr/freeldr/include/debug.h index ee7c1064619..07371aa32aa 100644 --- a/reactos/boot/freeldr/freeldr/include/debug.h +++ b/reactos/boot/freeldr/freeldr/include/debug.h @@ -41,9 +41,7 @@ VOID DebugPrint1(char *format, ...); VOID DebugDumpBuffer(ULONG Mask, PVOID Buffer, ULONG Length); - - #define DbgPrint(_x_) _DbgPrint _x_ ; - #define _DbgPrint(_m_,_x_...) { DebugPrint(_m_, "(%s:%d)", __FILE__, __LINE__); DebugPrint(_m_,_x_);}while(0) + #define DbgPrint(_x_) DebugPrint _x_ ; #define DPRINT1 DebugPrint1 #define BugCheck(_x_) { DebugPrint(DPRINT_WARNING, "Fatal Error: %s:%d(%s)\n", __FILE__, __LINE__, __FUNCTION__); DebugPrint _x_ ; for (;;); } #define DbgDumpBuffer(_x_, _y_, _z_) DebugDumpBuffer(_x_, _y_, _z_)