Author: fireball
Date: Wed Aug 14 14:08:40 2013
New Revision: 59736
URL:
http://svn.reactos.org/svn/reactos?rev=59736&view=rev
Log:
[RTL]
- Improve debug messages to include failure status.
Modified:
trunk/reactos/lib/rtl/process.c
Modified: trunk/reactos/lib/rtl/process.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/process.c?rev=5973…
==============================================================================
--- trunk/reactos/lib/rtl/process.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/process.c [iso-8859-1] Wed Aug 14 14:08:40 2013
@@ -42,7 +42,7 @@
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 @@
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);