Author: tkreuzer
Date: Wed Oct 22 19:30:27 2014
New Revision: 64905

URL: http://svn.reactos.org/svn/reactos?rev=64905&view=rev
Log:
[XDK/DDK]
Improve debugprint in __assert_annotationA/W

Modified:
    trunk/reactos/include/ddk/wdm.h
    trunk/reactos/include/xdk/rtlfuncs.h

Modified: trunk/reactos/include/ddk/wdm.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/wdm.h?rev=64905&r1=64904&r2=64905&view=diff
==============================================================================
--- trunk/reactos/include/ddk/wdm.h     [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/wdm.h     [iso-8859-1] Wed Oct 22 19:30:27 2014
@@ -11061,9 +11061,9 @@
 # define __assert_annotationW(msg) __annotation(L"Debug", L"AssertFail", msg)
 #else
 # define __assert_annotationA(msg) \
-    DbgPrint("Assertion %s(%d): %s", __FILE__, __LINE__, msg)
+    DbgPrint("Assertion failed at %s(%d): %s\n", __FILE__, __LINE__, msg)
 # define __assert_annotationW(msg) \
-    DbgPrint("Assertion %s(%d): %S", __FILE__, __LINE__, msg)
+    DbgPrint("Assertion failed at %s(%d): %S\n", __FILE__, __LINE__, msg)
 #endif
 
 #define NT_VERIFY(exp) \

Modified: trunk/reactos/include/xdk/rtlfuncs.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/include/xdk/rtlfuncs.h?rev=64905&r1=64904&r2=64905&view=diff
==============================================================================
--- trunk/reactos/include/xdk/rtlfuncs.h        [iso-8859-1] (original)
+++ trunk/reactos/include/xdk/rtlfuncs.h        [iso-8859-1] Wed Oct 22 
19:30:27 2014
@@ -3113,9 +3113,9 @@
 # define __assert_annotationW(msg) __annotation(L"Debug", L"AssertFail", msg)
 #else
 # define __assert_annotationA(msg) \
-    DbgPrint("Assertion %s(%d): %s", __FILE__, __LINE__, msg)
+    DbgPrint("Assertion failed at %s(%d): %s\n", __FILE__, __LINE__, msg)
 # define __assert_annotationW(msg) \
-    DbgPrint("Assertion %s(%d): %S", __FILE__, __LINE__, msg)
+    DbgPrint("Assertion failed at %s(%d): %S\n", __FILE__, __LINE__, msg)
 #endif
 
 #define NT_VERIFY(exp) \


Reply via email to