mirror of
https://github.com/donnaskiez/ac.git
synced 2024-11-21 22:24:08 +01:00
small bug fix
This commit is contained in:
parent
267cbce0bf
commit
a7508e3147
1 changed files with 2 additions and 9 deletions
|
@ -430,15 +430,8 @@ DeviceControl(_In_ PDEVICE_OBJECT DeviceObject, _Inout_ PIRP Irp)
|
|||
|
||||
DEBUG_INFO("IOCTL_REQUEST_HARDWARE_INFORMATION Received");
|
||||
|
||||
PSYSTEM_INFORMATION system_information = NULL;
|
||||
|
||||
GetDriverConfigSystemInformation(&system_information);
|
||||
|
||||
if (!system_information)
|
||||
{
|
||||
DEBUG_ERROR("GetDriverConfigSystemInformation failed with no status.");
|
||||
goto end;
|
||||
}
|
||||
PSYSTEM_INFORMATION system_information =
|
||||
GetDriverConfigSystemInformation(&system_information);
|
||||
|
||||
status = ValidateIrpOutputBuffer(Irp, sizeof(SYSTEM_INFORMATION));
|
||||
|
||||
|
|
Loading…
Reference in a new issue