ntoskrnl.exe: Fix formatting in IoCreateSynchronizationEvent.
This commit is contained in:
parent
e740eaee08
commit
f58c48b85e
1 changed files with 2 additions and 2 deletions
|
@ -215,7 +215,7 @@ PKEVENT WINAPI IoCreateSynchronizationEvent( UNICODE_STRING *name, HANDLE *ret_h
|
||||||
KEVENT *event;
|
KEVENT *event;
|
||||||
NTSTATUS ret;
|
NTSTATUS ret;
|
||||||
|
|
||||||
TRACE( "(%p %p)\n", name, ret_handle );
|
TRACE( "(%s %p)\n", debugstr_us(name), ret_handle );
|
||||||
|
|
||||||
InitializeObjectAttributes( &attr, name, 0, 0, NULL );
|
InitializeObjectAttributes( &attr, name, 0, 0, NULL );
|
||||||
ret = NtCreateEvent( &handle, EVENT_ALL_ACCESS, &attr, SynchronizationEvent, TRUE );
|
ret = NtCreateEvent( &handle, EVENT_ALL_ACCESS, &attr, SynchronizationEvent, TRUE );
|
||||||
|
@ -223,7 +223,7 @@ PKEVENT WINAPI IoCreateSynchronizationEvent( UNICODE_STRING *name, HANDLE *ret_h
|
||||||
|
|
||||||
if (kernel_object_from_handle( handle, ExEventObjectType, (void**)&event ))
|
if (kernel_object_from_handle( handle, ExEventObjectType, (void**)&event ))
|
||||||
{
|
{
|
||||||
NtClose( handle);
|
NtClose( handle );
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue