Some memory manager cleanups
[reactos.git] / reactos / ntoskrnl / ldr / sysdll.c
index 72ba0c9..b633389 100644 (file)
@@ -232,9 +232,10 @@ NTSTATUS LdrpMapSystemDll(HANDLE ProcessHandle,
 
    /*
     * retrieve ntdll's startup address
-    */
+    */   
    RtlInitAnsiString (&ProcedureName,
                      "LdrInitializeThunk");
+   DPRINT1("Getting address of system DLL entrypoint\n");
    Status = LdrGetProcedureAddress ((PVOID)ImageBase,
                                    &ProcedureName,
                                    0,
@@ -247,7 +248,7 @@ NTSTATUS LdrpMapSystemDll(HANDLE ProcessHandle,
        ZwClose(NTDllSectionHandle);
        return (Status);
      }
-   DPRINT("SystemDllEntryPoint 0x%08lx\n",
+   DPRINT1("SystemDllEntryPoint 0x%08lx\n",
          SystemDllEntryPoint);
    *LdrStartupAddr = SystemDllEntryPoint;