mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[KERNEL32]
Fix wrong sizeof usage svn path=/trunk/; revision=53772
This commit is contained in:
@@ -40,7 +40,7 @@ GetSystemPowerStatus(IN LPSYSTEM_POWER_STATUS PowerStatus)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
RtlZeroMemory(PowerStatus, sizeof(LPSYSTEM_POWER_STATUS));
|
||||
RtlZeroMemory(PowerStatus, sizeof(SYSTEM_POWER_STATUS));
|
||||
|
||||
PowerStatus->BatteryLifeTime = BATTERY_LIFE_UNKNOWN;
|
||||
PowerStatus->BatteryFullLifeTime = BATTERY_LIFE_UNKNOWN;
|
||||
|
||||
Reference in New Issue
Block a user