mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-06-15 11:50:12 +10:00
Fix an issue with incorrect logging of secure boot state
This commit is contained in:
@@ -64,9 +64,7 @@ namespace MadWizard.WinUSBNet.API
|
||||
}
|
||||
|
||||
// Store the device name in a String.
|
||||
string deviceNameString = new(devBroadcastDeviceInterface.dbcc_name, 0, stringSize);
|
||||
|
||||
return deviceNameString;
|
||||
return (string)(new(devBroadcastDeviceInterface.dbcc_name, 0, stringSize));
|
||||
}
|
||||
else if (devBroadcastHeader.dbch_devicetype == DBT_DEVTYP_VOLUME)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user