Fix more DPRINTs.
Modified: trunk/reactos/ntoskrnl/ob/handle.c
Modified: trunk/reactos/ntoskrnl/ob/object.c

Modified: trunk/reactos/ntoskrnl/ob/handle.c
--- trunk/reactos/ntoskrnl/ob/handle.c	2005-07-04 21:08:00 UTC (rev 16412)
+++ trunk/reactos/ntoskrnl/ob/handle.c	2005-07-04 21:12:35 UTC (rev 16413)
@@ -833,7 +833,7 @@
 
    if (ObjectType != NULL && ObjectType != ObjectHeader->Type)
      {
-        DPRINT("ObjectType mismatch: %wZ vs %wZ (handle 0x%x)\n", &ObjectType->TypeName, ObjectHeader->Type ? &ObjectHeader->Type->TypeName : NULL, Handle);
+        DPRINT("ObjectType mismatch: %wZ vs %wZ (handle 0x%x)\n", &ObjectType->Name, ObjectHeader->Type ? &ObjectHeader->Type->Name : NULL, Handle);
 
         ExUnlockHandleTableEntry(HandleTable,
                                  HandleEntry);
@@ -1142,7 +1142,7 @@
                                  ObjectCreateInfo->Attributes & OBJ_INHERIT,
                                  Handle);
         DPRINT("handle Created: %d. refcount. handlecount %d %d\n",
-                 *Handle, Header->RefCount, Header->HandleCount);
+                 *Handle, Header->PointerCount, Header->HandleCount);
     }
     
     /* We can delete the Create Info now */

Modified: trunk/reactos/ntoskrnl/ob/object.c
--- trunk/reactos/ntoskrnl/ob/object.c	2005-07-04 21:08:00 UTC (rev 16412)
+++ trunk/reactos/ntoskrnl/ob/object.c	2005-07-04 21:12:35 UTC (rev 16413)
@@ -863,9 +863,9 @@
 	DPRINT("Failed %p (type was %x %wZ) should be %x %wZ\n",
 		Header,
 		Header->Type,
-		&BODY_TO_HEADER(Header->Type)->NameInfo,
+		&HEADER_TO_OBJECT_NAME(BODY_TO_HEADER(Header->Type))->Name,
 		ObjectType,
-		&BODY_TO_HEADER(ObjectType)->NameInfo);
+		&HEADER_TO_OBJECT_NAME(BODY_TO_HEADER(ObjectType))->Name);
 	return(STATUS_UNSUCCESSFUL);
      }
    if (Header->Type == PsProcessType)