[COMPBATT] Use FALSE for BOOLEANs on BatteryIoctl, not integers

This commit is contained in:
George Bișoc
2025-01-08 23:20:08 +01:00
parent c944116833
commit 6a06db09ca
+2 -2
View File
@@ -286,7 +286,7 @@ CompBattGetBatteryInformation(
sizeof(InputBuffer),
&BatteryData->BatteryInformation,
sizeof(BatteryData->BatteryInformation),
0);
FALSE);
if (!NT_SUCCESS(Status))
{
/* Fail if the query had a problem */
@@ -442,7 +442,7 @@ CompBattGetBatteryGranularity(
sizeof(InputBuffer),
&BatteryScale,
sizeof(BatteryScale),
0);
FALSE);
if (!NT_SUCCESS(Status))
{
/* Fail if the query had a problem */