Fix compile error when NDEBUG is not set
Modified: trunk/reactos/ntoskrnl/ob/object.c
_____
Modified: trunk/reactos/ntoskrnl/ob/object.c
--- trunk/reactos/ntoskrnl/ob/object.c 2005-05-22 16:48:30 UTC (rev
15470)
+++ trunk/reactos/ntoskrnl/ob/object.c 2005-05-22 22:04:57 UTC (rev
15471)
@@ -709,12 +709,12 @@
if (ObjectType != NULL && Header->ObjectType != ObjectType)
{
- DPRINT("Failed %x (type was %x %S) should be %x %S\n",
+ DPRINT("Failed %p (type was %x %wZ) should be %x %wZ\n",
Header,
Header->ObjectType,
- Header->ObjectType->TypeName.Buffer,
+ &BODY_TO_HEADER(Header->ObjectType)->NameInfo,
ObjectType,
- ObjectType->TypeName.Buffer);
+ &BODY_TO_HEADER(ObjectType)->NameInfo);
return(STATUS_UNSUCCESSFUL);
}
if (Header->ObjectType == PsProcessType)