[KERNEL32]: Improve SxS DPRINT info, based on Mark Jansen's suggestion. CORE-10524
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 22 Dec 2016 22:37:26 +0000 (22:37 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 22 Dec 2016 22:37:26 +0000 (22:37 +0000)
svn path=/trunk/; revision=73479

reactos/dll/win32/kernel32/client/proc.c

index a13a139..041adf6 100644 (file)
@@ -2925,10 +2925,11 @@ StartScan:
 
     /* Cleanup in preparation for failure or success */
     RtlReleaseRelativeName(&SxsWin32RelativePath);
+
     if (!NT_SUCCESS(Status))
     {
         /* Failure path, try to understand why */
-        DPRINT1("Open file failed: %lx\n", Status);
+        DPRINT1("Open file failed: %lx (%wZ)\n", Status, &PathName);
         if (RtlIsDosDeviceName_U(lpApplicationName))
         {
             /* If a device is being executed, return this special error code */