[ros-diffs] [fireball] 32526: Samuel Serapion <samcharly at hotmail.com> - Make the ext2 dbgprint not annoying.

fireball at svn.reactos.org fireball at svn.reactos.org
Thu Feb 28 15:51:41 CET 2008


Author: fireball
Date: Thu Feb 28 17:51:41 2008
New Revision: 32526

URL: http://svn.reactos.org/svn/reactos?rev=32526&view=rev
Log:
Samuel Serapion <samcharly at hotmail.com>
- Make the ext2 dbgprint not annoying.

Modified:
    trunk/reactos/drivers/filesystems/ext2/inc/ext2fsd.h

Modified: trunk/reactos/drivers/filesystems/ext2/inc/ext2fsd.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ext2/inc/ext2fsd.h?rev=32526&r1=32525&r2=32526&view=diff
==============================================================================
--- trunk/reactos/drivers/filesystems/ext2/inc/ext2fsd.h (original)
+++ trunk/reactos/drivers/filesystems/ext2/inc/ext2fsd.h Thu Feb 28 17:51:41 2008
@@ -185,15 +185,14 @@
 {																			\
 	if( ( TYPE ) & ( PERMITTED_DEBUG_TRACE_TYPES ) )						\
 	{																		\
-  		DbgPrint("    ");													\
+		if( ( DEBUG_TRACE_LINENO ) & ( PERMITTED_DEBUG_TRACE_TYPES ) )		\
+		{																	\
+			DbgPrint("(%s:%ld) ", __FILE__, __LINE__ );						\
+		}																	\
 		DbgPrint(X,Y);														\
 		if( ( DEBUG_TRACE_IRQL ) & ( PERMITTED_DEBUG_TRACE_TYPES ) )		\
 		{																	\
-			DbgPrint( "  IRQL = %d ", KeGetCurrentIrql( ) );				\
-		}																	\
-		if( ( DEBUG_TRACE_LINENO ) & ( PERMITTED_DEBUG_TRACE_TYPES ) )		\
-		{																	\
-			DbgPrint( "   [%s] Line No = %ld", __FILE__, __LINE__ );		\
+			DbgPrint( ",IRQL = %d ", KeGetCurrentIrql( ) );					\
 		}																	\
 		DbgPrint("\n");														\
 	}																		\




More information about the Ros-diffs mailing list