- Print a bit more information when failing.

svn path=/trunk/; revision=55762
This commit is contained in:
Jérôme Gardou 2012-02-20 20:51:09 +00:00
parent 435f5a8bfd
commit 30703d5a5d

View file

@ -168,7 +168,7 @@ SetupCopyFile(PWCHAR SourceFileName,
FileHandleSource);
if(!NT_SUCCESS(Status))
{
DPRINT1("NtCreateSection failed: %x\n", Status);
DPRINT1("NtCreateSection failed: %x, %wZ\n", Status, SourceFileName);
goto closesrc;
}
@ -184,7 +184,7 @@ SetupCopyFile(PWCHAR SourceFileName,
PAGE_READONLY );
if(!NT_SUCCESS(Status))
{
DPRINT1("NtMapViewOfSection failed: %x\n", Status);
DPRINT1("NtMapViewOfSection failed: %x, %wZ\n", Status, SourceFileName);
goto closesrcsec;
}