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(a)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/i…
==============================================================================
--- 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");
\
}
\