Author: ion
Date: Thu Jul 25 23:56:17 2013
New Revision: 59587
URL:
http://svn.reactos.org/svn/reactos?rev=59587&view=rev
Log:
[NTOSKRNL/BASESRV]: Tiny formatting clean-ups made while debugging.
Modified:
trunk/reactos/ntoskrnl/ob/obhandle.c
trunk/reactos/subsystems/win/basesrv/proc.c
Modified: trunk/reactos/ntoskrnl/ob/obhandle.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ob/obhandle.c?rev…
==============================================================================
--- trunk/reactos/ntoskrnl/ob/obhandle.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ob/obhandle.c [iso-8859-1] Thu Jul 25 23:56:17 2013
@@ -3265,7 +3265,7 @@
PreviousMode,
(PVOID*)&SourceProcess,
NULL);
- if (!NT_SUCCESS(Status)) return(Status);
+ if (!NT_SUCCESS(Status)) return Status;
/* Check if got a target handle */
if (TargetProcessHandle)
Modified: trunk/reactos/subsystems/win/basesrv/proc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win/basesrv/pro…
==============================================================================
--- trunk/reactos/subsystems/win/basesrv/proc.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win/basesrv/proc.c [iso-8859-1] Thu Jul 25 23:56:17 2013
@@ -57,7 +57,7 @@
DUPLICATE_SAME_ACCESS);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Failed to duplicate process handle\n");
+ DPRINT1("Failed to duplicate process handle: %lx\n", Status);
return Status;
}
@@ -71,7 +71,7 @@
DUPLICATE_SAME_ACCESS);
if (!NT_SUCCESS(Status))
{
- DPRINT1("Failed to duplicate process handle\n");
+ DPRINT1("Failed to duplicate thread handle: %lx\n", Status);
NtClose(ProcessHandle);
return Status;
}