Sorry for the debug messages.
Modified: trunk/reactos/lib/ntdll/ldr/startup.c
_____
Modified: trunk/reactos/lib/ntdll/ldr/startup.c
--- trunk/reactos/lib/ntdll/ldr/startup.c 2005-09-13 19:33:49 UTC
(rev 17838)
+++ trunk/reactos/lib/ntdll/ldr/startup.c 2005-09-13 19:34:48 UTC
(rev 17839)
@@ -256,13 +256,13 @@
SYSTEM_BASIC_INFORMATION SystemInformation;
NTSTATUS Status;
- DPRINT1("LdrpInit()\n");
+ DPRINT("LdrpInit()\n");
if (NtCurrentPeb()->Ldr == NULL || NtCurrentPeb()->Ldr->Initialized
== FALSE)
{
Peb = (PPEB)(PEB_BASE);
- DPRINT1("Peb %x\n", Peb);
+ DPRINT("Peb %x\n", Peb);
ImageBase = Peb->ImageBaseAddress;
- DPRINT1("ImageBase %x\n", ImageBase);
+ DPRINT("ImageBase %x\n", ImageBase);
if (ImageBase <= (PVOID)0x1000)
{
DPRINT("ImageBase is null\n");
@@ -271,7 +271,7 @@
/* If MZ header exists */
PEDosHeader = (PIMAGE_DOS_HEADER) ImageBase;
- DPRINT1("PEDosHeader %x\n", PEDosHeader);
+ DPRINT("PEDosHeader %x\n", PEDosHeader);
if (PEDosHeader->e_magic != IMAGE_DOS_SIGNATURE ||
PEDosHeader->e_lfanew == 0L ||
@@ -294,12 +294,12 @@
NTHeaders = (PIMAGE_NT_HEADERS)((ULONG_PTR)ImageBase +
PEDosHeader->e_lfanew);
/* Get number of processors */
- DPRINT1("Here\n");
+ DPRINT("Here\n");
Status = ZwQuerySystemInformation(SystemBasicInformation,
&SystemInformation,
sizeof(SYSTEM_BASIC_INFORMATION),
NULL);
- DPRINT1("Here2\n");
+ DPRINT("Here2\n");
if (!NT_SUCCESS(Status))
{
ZwTerminateProcess(NtCurrentProcess(), Status);