mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[NTOSKRNL/BASESRV]: Tiny formatting clean-ups made while debugging.
svn path=/trunk/; revision=59587
This commit is contained in:
parent
86041ea09c
commit
ff619fd63b
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue