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

This commit is contained in:
George Bișoc 2024-12-14 22:34:22 +01:00
parent c944116833
commit 6a06db09ca
No known key found for this signature in database
GPG key ID: 688C4FBE25D7DEF6

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 */