Skip to content

Commit dd6531b

Browse files
committed
Driver: fixed DarthTon#347
1 parent 13f9261 commit dd6531b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/BlackBoneDrv/BlackBoneDrv.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ NTSTATUS DriverEntry( IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING Registr
3030
UNREFERENCED_PARAMETER( RegistryPath );
3131

3232
// Get OS Dependant offsets
33-
InitializeDebuggerBlock( &g_KdBlock );
33+
InitializeDebuggerBlock();
3434
status = BBInitDynamicData( &dynData );
3535
if (!NT_SUCCESS( status ))
3636
{
@@ -44,6 +44,7 @@ NTSTATUS DriverEntry( IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING Registr
4444
status = BBInitLdrData( (PKLDR_DATA_TABLE_ENTRY)DriverObject->DriverSection );
4545
if (!NT_SUCCESS( status ))
4646
return status;
47+
4748
//
4849
// Globals init
4950
//

0 commit comments

Comments
 (0)