|
From: Randy D. <rd...@us...> - 2003-06-27 05:28:53
|
Update of /cvsroot/acpi/ospmd/ospmd/ospmd
In directory sc8-pr-cvs1:/tmp/cvs-serv18505/ospmd/ospmd/ospmd
Modified Files:
acpi_interface.cpp
Log Message:
fix cut-n-paste error for battery event class;
from Markus Seemann <ms...@su...>;
Index: acpi_interface.cpp
===================================================================
RCS file: /cvsroot/acpi/ospmd/ospmd/ospmd/acpi_interface.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- acpi_interface.cpp 20 Nov 2002 03:18:46 -0000 1.4
+++ acpi_interface.cpp 27 Jun 2003 05:15:05 -0000 1.5
@@ -218,7 +218,7 @@
else if (strcmp(event_class, ACPI_CLASS_BATTERY) == 0 )
{
/* Handle battery events */
- ev.ev_class = EVENT_CLASS_BUTTON;
+ ev.ev_class = EVENT_CLASS_BATTERY;
pm_pol->handle_battery_event(&ev);
}
else if (strcmp(event_class, ACPI_CLASS_AC) == 0 )
|