Author: hbelusca
Date: Sat Jun 17 20:16:40 2017
New Revision: 75080
URL: http://svn.reactos.org/svn/reactos?rev=75080&view=rev
Log:
[NTOS]: Improve a DPRINT.
Modified:
trunk/reactos/ntoskrnl/config/cminit.c
Modified: trunk/reactos/ntoskrnl/config/cminit.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cminit.c?r…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cminit.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/config/cminit.c [iso-8859-1] Sat Jun 17 20:16:40 2017
@@ -376,15 +376,16 @@
/* Check if anything failed until now */
if (!NT_SUCCESS(Status))
{
+ DPRINT1("ZwCreateFile(%wZ) failed, Status 0x%08lx.\n", ObjectAttributes.ObjectName, Status);
+
/* Close handles and free buffers */
if (NameBuffer) ExFreePoolWithTag(NameBuffer, TAG_CM);
ObDereferenceObject(Event);
ZwClose(EventHandle);
- DPRINT1("ZwCreateFile failed : %lx.\n", Status);
*Primary = NULL;
return Status;
}
-
+
if (MarkAsSystemHive)
{
/* We opened it, mark it as a system hive */