Author: hbelusca
Date: Sun Jan 27 00:19:43 2013
New Revision: 58238
URL:
http://svn.reactos.org/svn/reactos?rev=58238&view=rev
Log:
[SMSS]
- Uniformize the error messages and also, SmpParseCommand is SmpParseCommandLine in fact.
- Remove an unneeded cast since Flags is already ULONG.
Modified:
trunk/reactos/base/system/smss/pagefile.c
trunk/reactos/base/system/smss/smss.c
Modified: trunk/reactos/base/system/smss/pagefile.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/pagefile.…
==============================================================================
--- trunk/reactos/base/system/smss/pagefile.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/pagefile.c [iso-8859-1] Sun Jan 27 00:19:43 2013
@@ -109,7 +109,7 @@
if (!NT_SUCCESS(Status))
{
/* Fail */
- DPRINT1("SMSS:PFILE: SmpParseCommandLine(%wZ) failed with status %X
\n",
+ DPRINT1("SMSS:PFILE: SmpParseCommandLine( %wZ ) failed - Status ==
%lx\n",
PageFileToken, Status);
return Status;
}
Modified: trunk/reactos/base/system/smss/smss.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/smss/smss.c?re…
==============================================================================
--- trunk/reactos/base/system/smss/smss.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/smss/smss.c [iso-8859-1] Sun Jan 27 00:19:43 2013
@@ -235,7 +235,7 @@
if (!NT_SUCCESS(Status))
{
/* Fail if we couldn't do that */
- DPRINT1("SMSS: SmpParseCommand( %wZ ) failed - Status == %lx\n",
+ DPRINT1("SMSS: SmpParseCommandLine( %wZ ) failed - Status == %lx\n",
CommandLine, Status);
return Status;
}
@@ -312,7 +312,7 @@
/* Parse the initial command line */
Status = SmpParseCommandLine(InitialCommand,
- (PULONG)&Flags,
+ &Flags,
&ImageFileName,
&ImageFileDirectory,
&Arguments);
@@ -327,7 +327,7 @@
/* And fail if any other reason is also true */
if (!NT_SUCCESS(Status))
{
- DPRINT1("SMSS: SmpParseCommand( %wZ ) failed - Status == %lx\n",
+ DPRINT1("SMSS: SmpParseCommandLine( %wZ ) failed - Status == %lx\n",
InitialCommand, Status);
return Status;
}