Author: hbelusca
Date: Sat Sep 21 13:00:48 2013
New Revision: 60272
URL: http://svn.reactos.org/svn/reactos?rev=60272&view=rev
Log:
[KERNEL32]:
- Revert r60250 (which was here just to test something in all of the test bots).
- Display which file we wanted to execute, when seeing that it wasn't an executable file nor a .bat or .cmd file.
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] Sat Sep 21 13:00:48 2013
@@ -629,10 +629,10 @@
/* Create the Parameter Block */
ProcessParameters = NULL;
- DPRINT1("ImageName: '%wZ'\n", &ImageName);
+ DPRINT("ImageName: '%wZ'\n", &ImageName);
DPRINT("DllPath : '%wZ'\n", &DllPath);
DPRINT("CurDir : '%wZ'\n", &CurrentDirectory);
- DPRINT1("CmdLine : '%wZ'\n", &CommandLine);
+ DPRINT("CmdLine : '%wZ'\n", &CommandLine);
DPRINT("Title : '%wZ'\n", &Title);
DPRINT("Desktop : '%wZ'\n", &Desktop);
DPRINT("Shell : '%wZ'\n", &Shell);
@@ -3440,7 +3440,7 @@
((_wcsnicmp(ExtBuffer, L".bat", 4)) &&
(_wcsnicmp(ExtBuffer, L".cmd", 4))))
{
- DPRINT1("Invalid EXE, and not a batch or script file\n");
+ DPRINT1("'%wZ': Invalid EXE, and not a batch or script file\n", &PathName);
SetLastError(ERROR_BAD_EXE_FORMAT);
Result = FALSE;
goto Quickie;