- Uniformize the error messages and also, SmpParseCommand is SmpParseCommandLine in fact.
- Remove an unneeded cast since Flags is already ULONG.

svn path=/trunk/; revision=58238
This commit is contained in:
Hermès Bélusca-Maïto
2013-01-27 00:19:43 +00:00
parent 20acbf7dfa
commit 0b3f274e0e
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ SmpCreatePagingFileDescriptor(IN PUNICODE_STRING PageFileToken)
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;
}
+3 -3
View File
@@ -235,7 +235,7 @@ SmpExecuteCommand(IN PUNICODE_STRING CommandLine,
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 @@ SmpExecuteInitialCommand(IN ULONG MuSessionId,
/* Parse the initial command line */
Status = SmpParseCommandLine(InitialCommand,
(PULONG)&Flags,
&Flags,
&ImageFileName,
&ImageFileDirectory,
&Arguments);
@@ -327,7 +327,7 @@ SmpExecuteInitialCommand(IN ULONG MuSessionId,
/* 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;
}