mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[LDR] Include dllname in snap failure DPRINT.
CORE-15135
This commit is contained in:
parent
520f404e9c
commit
1a9b50690a
1 changed files with 3 additions and 3 deletions
|
@ -1028,14 +1028,14 @@ FailurePath:
|
||||||
/* Is this a static snap? */
|
/* Is this a static snap? */
|
||||||
if (Static)
|
if (Static)
|
||||||
{
|
{
|
||||||
|
RtlInitAnsiString(&TempString, DllName ? DllName : "Unknown");
|
||||||
/* Inform the debug log */
|
/* Inform the debug log */
|
||||||
if (IsOrdinal)
|
if (IsOrdinal)
|
||||||
DPRINT1("Failed to snap ordinal 0x%x\n", OriginalOrdinal);
|
DPRINT1("Failed to snap ordinal %Z!0x%x\n", &TempString, OriginalOrdinal);
|
||||||
else
|
else
|
||||||
DPRINT1("Failed to snap %s\n", ImportName);
|
DPRINT1("Failed to snap %Z!%s\n", &TempString, ImportName);
|
||||||
|
|
||||||
/* These are critical errors. Setup a string for the DLL name */
|
/* These are critical errors. Setup a string for the DLL name */
|
||||||
RtlInitAnsiString(&TempString, DllName ? DllName : "Unknown");
|
|
||||||
RtlAnsiStringToUnicodeString(&HardErrorDllName, &TempString, TRUE);
|
RtlAnsiStringToUnicodeString(&HardErrorDllName, &TempString, TRUE);
|
||||||
|
|
||||||
/* Set it as the parameter */
|
/* Set it as the parameter */
|
||||||
|
|
Loading…
Reference in a new issue