- 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

View file

@ -109,7 +109,7 @@ SmpCreatePagingFileDescriptor(IN PUNICODE_STRING PageFileToken)
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
/* Fail */ /* Fail */
DPRINT1("SMSS:PFILE: SmpParseCommandLine(%wZ) failed with status %X \n", DPRINT1("SMSS:PFILE: SmpParseCommandLine( %wZ ) failed - Status == %lx\n",
PageFileToken, Status); PageFileToken, Status);
return Status; return Status;
} }

View file

@ -235,7 +235,7 @@ SmpExecuteCommand(IN PUNICODE_STRING CommandLine,
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
/* Fail if we couldn't do that */ /* 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); CommandLine, Status);
return Status; return Status;
} }
@ -312,7 +312,7 @@ SmpExecuteInitialCommand(IN ULONG MuSessionId,
/* Parse the initial command line */ /* Parse the initial command line */
Status = SmpParseCommandLine(InitialCommand, Status = SmpParseCommandLine(InitialCommand,
(PULONG)&Flags, &Flags,
&ImageFileName, &ImageFileName,
&ImageFileDirectory, &ImageFileDirectory,
&Arguments); &Arguments);
@ -327,7 +327,7 @@ SmpExecuteInitialCommand(IN ULONG MuSessionId,
/* And fail if any other reason is also true */ /* And fail if any other reason is also true */
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
DPRINT1("SMSS: SmpParseCommand( %wZ ) failed - Status == %lx\n", DPRINT1("SMSS: SmpParseCommandLine( %wZ ) failed - Status == %lx\n",
InitialCommand, Status); InitialCommand, Status);
return Status; return Status;
} }