Author: hbelusca
Date: Thu Dec 22 22:37:26 2016
New Revision: 73479
URL:
http://svn.reactos.org/svn/reactos?rev=73479&view=rev
Log:
[KERNEL32]: Improve SxS DPRINT info, based on Mark Jansen's suggestion. CORE-10524
Modified:
trunk/reactos/dll/win32/kernel32/client/proc.c
Modified: trunk/reactos/dll/win32/kernel32/client/proc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/proc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/proc.c [iso-8859-1] Thu Dec 22 22:37:26 2016
@@ -2925,10 +2925,11 @@
/* 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 */