[NTOSKRNL/BASESRV]: Tiny formatting clean-ups made while debugging.

svn path=/trunk/; revision=59587
This commit is contained in:
Alex Ionescu 2013-07-25 23:56:17 +00:00
parent 86041ea09c
commit ff619fd63b
2 changed files with 3 additions and 3 deletions

View file

@ -3265,7 +3265,7 @@ NtDuplicateObject(IN HANDLE SourceProcessHandle,
PreviousMode, PreviousMode,
(PVOID*)&SourceProcess, (PVOID*)&SourceProcess,
NULL); NULL);
if (!NT_SUCCESS(Status)) return(Status); if (!NT_SUCCESS(Status)) return Status;
/* Check if got a target handle */ /* Check if got a target handle */
if (TargetProcessHandle) if (TargetProcessHandle)

View file

@ -57,7 +57,7 @@ CSR_API(BaseSrvCreateProcess)
DUPLICATE_SAME_ACCESS); DUPLICATE_SAME_ACCESS);
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
DPRINT1("Failed to duplicate process handle\n"); DPRINT1("Failed to duplicate process handle: %lx\n", Status);
return Status; return Status;
} }
@ -71,7 +71,7 @@ CSR_API(BaseSrvCreateProcess)
DUPLICATE_SAME_ACCESS); DUPLICATE_SAME_ACCESS);
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
DPRINT1("Failed to duplicate process handle\n"); DPRINT1("Failed to duplicate thread handle: %lx\n", Status);
NtClose(ProcessHandle); NtClose(ProcessHandle);
return Status; return Status;
} }