From adde38d4dd402f0eb1489d8046fbe6cdabecff0b Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Wed, 14 Aug 2013 14:08:40 +0000 Subject: [PATCH] [RTL] - Improve debug messages to include failure status. svn path=/trunk/; revision=59736 --- reactos/lib/rtl/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/rtl/process.c b/reactos/lib/rtl/process.c index 0dd60374d96..e74cb8eab65 100644 --- a/reactos/lib/rtl/process.c +++ b/reactos/lib/rtl/process.c @@ -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);