mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[RTL]
- Improve debug messages to include failure status. svn path=/trunk/; revision=59736
This commit is contained in:
parent
8b235bf105
commit
adde38d4dd
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ RtlpMapFile(PUNICODE_STRING ImageFileName,
|
|||
FILE_SYNCHRONOUS_IO_NONALERT | FILE_NON_DIRECTORY_FILE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Failed to read image file from disk\n");
|
||||
DPRINT1("Failed to read image file from disk, Status = 0x%08X\n", Status);
|
||||
return Status;
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ RtlpMapFile(PUNICODE_STRING ImageFileName,
|
|||
hFile);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
DPRINT1("Failed to create section for image file\n");
|
||||
DPRINT1("Failed to create section for image file, Status = 0x%08X\n", Status);
|
||||
}
|
||||
|
||||
ZwClose(hFile);
|
||||
|
|
Loading…
Reference in a new issue