[KERNEL32]:
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 21 Sep 2013 13:00:48 +0000 (13:00 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 21 Sep 2013 13:00:48 +0000 (13:00 +0000)
- 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.

svn path=/trunk/; revision=60272

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

index 9b45b9c..4672755 100644 (file)
@@ -629,10 +629,10 @@ BasePushProcessParameters(IN ULONG ParameterFlags,
 
     /* Create the Parameter Block */
     ProcessParameters = NULL;
 
     /* 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);
     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);
     DPRINT("Title    : '%wZ'\n", &Title);
     DPRINT("Desktop  : '%wZ'\n", &Desktop);
     DPRINT("Shell    : '%wZ'\n", &Shell);
@@ -3440,7 +3440,7 @@ StartScan:
                     ((_wcsnicmp(ExtBuffer, L".bat", 4)) &&
                      (_wcsnicmp(ExtBuffer, L".cmd", 4))))
                 {
                     ((_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;
                     SetLastError(ERROR_BAD_EXE_FORMAT);
                     Result = FALSE;
                     goto Quickie;