mirror of
https://github.com/reactos/reactos.git
synced 2025-07-13 21:34:17 +00:00
Silence debug messages
svn path=/trunk/; revision=7949
This commit is contained in:
parent
649ad5c8c0
commit
003adb9a68
1 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: utils.c,v 1.81 2004/01/25 09:57:14 jfilby Exp $
|
/* $Id: utils.c,v 1.82 2004/01/31 23:53:45 gvg Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -608,7 +608,7 @@ LdrpMapDllImageFile(IN PWSTR SearchPath OPTIONAL,
|
||||||
FILE_SYNCHRONOUS_IO_NONALERT);
|
FILE_SYNCHRONOUS_IO_NONALERT);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("Dll open of %wZ failed: Status = 0x%08x\n",
|
DPRINT1("Dll open of %wZ failed: Status = 0x%08x\n",
|
||||||
&FullNtFileName, Status);
|
&FullNtFileName, Status);
|
||||||
RtlFreeUnicodeString (&FullNtFileName);
|
RtlFreeUnicodeString (&FullNtFileName);
|
||||||
return Status;
|
return Status;
|
||||||
|
@ -1007,7 +1007,7 @@ LdrGetExportByOrdinal (
|
||||||
BaseAddress,
|
BaseAddress,
|
||||||
ExportDir->AddressOfFunctions
|
ExportDir->AddressOfFunctions
|
||||||
);
|
);
|
||||||
DbgPrint(
|
DPRINT(
|
||||||
"LdrGetExportByOrdinal(Ordinal %d) = %x\n",
|
"LdrGetExportByOrdinal(Ordinal %d) = %x\n",
|
||||||
Ordinal,
|
Ordinal,
|
||||||
RVA(BaseAddress, ExFunctions[Ordinal - ExportDir->Base] )
|
RVA(BaseAddress, ExFunctions[Ordinal - ExportDir->Base] )
|
||||||
|
@ -1068,7 +1068,7 @@ LdrGetExportByName(PVOID BaseAddress,
|
||||||
&ExportDirSize);
|
&ExportDirSize);
|
||||||
if (ExportDir == NULL)
|
if (ExportDir == NULL)
|
||||||
{
|
{
|
||||||
DbgPrint("LdrGetExportByName(): no export directory!\n");
|
DPRINT1("LdrGetExportByName(): no export directory!\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1924,11 +1924,11 @@ PEPFUNC LdrPEStartup (PVOID ImageBase,
|
||||||
*/
|
*/
|
||||||
if (ImageBase != (PVOID) NTHeaders->OptionalHeader.ImageBase)
|
if (ImageBase != (PVOID) NTHeaders->OptionalHeader.ImageBase)
|
||||||
{
|
{
|
||||||
DbgPrint("LDR: Performing relocations\n");
|
DPRINT("LDR: Performing relocations\n");
|
||||||
Status = LdrPerformRelocations(NTHeaders, ImageBase);
|
Status = LdrPerformRelocations(NTHeaders, ImageBase);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
DbgPrint("LdrPerformRelocations() failed\n");
|
DPRINT1("LdrPerformRelocations() failed\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue