From 3c8c05443a2964d4d5429eed3f4aa451608a8607 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Thu, 28 Feb 2008 14:51:41 +0000 Subject: [PATCH] Samuel Serapion - Make the ext2 dbgprint not annoying. svn path=/trunk/; revision=32526 --- reactos/drivers/filesystems/ext2/inc/ext2fsd.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/reactos/drivers/filesystems/ext2/inc/ext2fsd.h b/reactos/drivers/filesystems/ext2/inc/ext2fsd.h index 19cd84e2a4a..9e8ef52224b 100644 --- a/reactos/drivers/filesystems/ext2/inc/ext2fsd.h +++ b/reactos/drivers/filesystems/ext2/inc/ext2fsd.h @@ -185,15 +185,14 @@ extern Ext2Data Ext2GlobalData; { \ 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"); \ } \