|
From: Andy G. <ag...@us...> - 2002-11-22 23:38:28
|
Update of /cvsroot/acpi/ospmd/ospmd/libpower
In directory sc8-pr-cvs1:/tmp/cvs-serv11460/ospmd/libpower
Modified Files:
libpower.cpp
Log Message:
update for new define name
Index: libpower.cpp
===================================================================
RCS file: /cvsroot/acpi/ospmd/ospmd/libpower/libpower.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- libpower.cpp 20 Nov 2002 03:05:50 -0000 1.5
+++ libpower.cpp 22 Nov 2002 23:38:26 -0000 1.6
@@ -132,7 +132,7 @@
* The use of this array assumes that a given request's code is equivalent to
* its position (not necessarily a good thing)
*/
-wire_msg_types msg_type[] =
+wire_msg_types msg_type[] =
{
{OSPM_ACTION_BAT_ALARM_GET, 0, sizeof(ALARM_CONFIG)},
{OSPM_ACTION_BAT_ALARM_SET, sizeof(ALARM_CONFIG), 0},
@@ -150,7 +150,7 @@
{OSPM_ACTION_CRITBATT_SET, 0, 0/*FIX*/},
{OSPM_ACTION_LOWBATT_SET, 0, 0/*FIX*/},
{OSPM_ACTION_PROC_INFO_GET, 0, sizeof(PROCESSOR_PERF)},
- {OSPM_ACTION_THERMAL_GET_DATA, 0, sizeof(PM_THERMAL_DATA)},
+ {OSPM_ACTION_THERMAL_GET, 0, sizeof(PM_THERMAL_DATA)},
};
static int
@@ -424,13 +424,13 @@
return -1;
}
- res = pm_send (sockfd, OSPM_ACTION_THERMAL_GET_DATA, NULL);
+ res = pm_send (sockfd, OSPM_ACTION_THERMAL_GET, NULL);
if (res < 0)
{
goto end;
}
- res = pm_receive (sockfd, OSPM_ACTION_THERMAL_GET_DATA, thermal_data);
+ res = pm_receive (sockfd, OSPM_ACTION_THERMAL_GET, thermal_data);
if (res < 0)
{
goto end;
|