https://git.reactos.org/?p=reactos.git;a=commitdiff;h=fe5e23e4705e48f9c45460646c171a53d3ea0a2c

commit fe5e23e4705e48f9c45460646c171a53d3ea0a2c
Author:     Jérôme Gardou <jerome.gar...@reactos.org>
AuthorDate: Thu Dec 31 14:51:17 2020 +0100
Commit:     Jérôme Gardou <jerome.gar...@reactos.org>
CommitDate: Tue Feb 2 10:18:52 2021 +0100

    [KMTESTS:NTOS_CC] Fix a test format
---
 modules/rostests/kmtests/ntos_cc/CcPinRead_drv.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/modules/rostests/kmtests/ntos_cc/CcPinRead_drv.c 
b/modules/rostests/kmtests/ntos_cc/CcPinRead_drv.c
index 3f18625d893..e9013529826 100644
--- a/modules/rostests/kmtests/ntos_cc/CcPinRead_drv.c
+++ b/modules/rostests/kmtests/ntos_cc/CcPinRead_drv.c
@@ -186,13 +186,13 @@ MapAndLockUserBuffer(
     return MmGetSystemAddressForMdlSafe(Irp->MdlAddress, NormalPagePriority);
 }
 
-#define ok_bcb(B, L, O)                                                        
         \
-{                                                                              
         \
-    PPUBLIC_BCB public_bcb = (B);                                              
         \
-    ok(public_bcb->NodeTypeCode == 0x2FD, "Not a BCB: %x\n", 
public_bcb->NodeTypeCode); \
-    ok(public_bcb->NodeByteSize == 0, "Invalid size: %d\n", 
public_bcb->NodeByteSize);  \
-    ok_eq_ulong(public_bcb->MappedLength, (L));                                
         \
-    ok_eq_longlong(public_bcb->MappedFileOffset.QuadPart, (O));                
         \
+#define ok_bcb(B, L, O)                                                        
           \
+{                                                                              
           \
+    PPUBLIC_BCB public_bcb = (B);                                              
           \
+    ok(public_bcb->NodeTypeCode == 0x2FD, "Not a BCB: %04x\n", 
public_bcb->NodeTypeCode); \
+    ok(public_bcb->NodeByteSize == 0, "Invalid size: %d\n", 
public_bcb->NodeByteSize);    \
+    ok_eq_ulong(public_bcb->MappedLength, (L));                                
           \
+    ok_eq_longlong(public_bcb->MappedFileOffset.QuadPart, (O));                
           \
 }
 
 static

Reply via email to