https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c6bdbefdc42e282b584a3…
commit c6bdbefdc42e282b584a3c04a1b0e4fb88cec83d
Author: George Bișoc <george.bisoc(a)reactos.org>
AuthorDate: Sat Dec 14 22:09:10 2024 +0100
Commit: George Bișoc <george.bisoc(a)reactos.org>
CommitDate: Wed Jan 8 23:20:07 2025 +0100
[COMPBATT] Use the non-constant variant of UNICODE_STRING for the battery name
---
drivers/bus/acpi/compbatt/comppnp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/acpi/compbatt/comppnp.c b/drivers/bus/acpi/compbatt/comppnp.c
index 31b05030b4f..819badf5843 100644
--- a/drivers/bus/acpi/compbatt/comppnp.c
+++ b/drivers/bus/acpi/compbatt/comppnp.c
@@ -225,7 +225,7 @@ CompBattAddNewBattery(
NTSTATUS
NTAPI
CompBattRemoveBattery(
- _In_ PCUNICODE_STRING BatteryName,
+ _In_ PUNICODE_STRING BatteryName,
_In_ PCOMPBATT_DEVICE_EXTENSION DeviceExtension)
{
PCOMPBATT_BATTERY_DATA BatteryData;