Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lieka1 authored and DarthTon committed Jul 17, 2023
1 parent 2708d88 commit f1a37a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BlackBone/DriverControl/DriverControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ NTSTATUS DriverControl::Reload( std::wstring path /*= L"" */ )
NULL, OPEN_EXISTING, 0, NULL
);

if (_hDriver != INVALID_HANDLE_VALUE)
if (_hDriver == INVALID_HANDLE_VALUE)
{
_loadStatus = LastNtStatus();
BLACKBONE_TRACE( L"Failed to open driver handle. Status 0x%X", _loadStatus );
Expand Down

0 comments on commit f1a37a8

Please sign in to comment.