Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/zbxsysinfo/openbsd/sensors.c')
-rw-r--r--src/libs/zbxsysinfo/openbsd/sensors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/zbxsysinfo/openbsd/sensors.c b/src/libs/zbxsysinfo/openbsd/sensors.c
index b75d399d7db..53b83a1704e 100644
--- a/src/libs/zbxsysinfo/openbsd/sensors.c
+++ b/src/libs/zbxsysinfo/openbsd/sensors.c
@@ -127,7 +127,7 @@ static int get_device_sensors(int do_task, int *mib, const struct sensordev *sen
return SUCCEED;
}
-int GET_SENSOR(AGENT_REQUEST *request, AGENT_RESULT *result)
+int get_sensor(AGENT_REQUEST *request, AGENT_RESULT *result)
{
char *device, *name, *function;
int do_task, mib[5], dev, cnt = 0;
@@ -218,7 +218,7 @@ int GET_SENSOR(AGENT_REQUEST *request, AGENT_RESULT *result)
#else
-int GET_SENSOR(AGENT_REQUEST *request, AGENT_RESULT *result)
+int get_sensor(AGENT_REQUEST *request, AGENT_RESULT *result)
{
SET_MSG_RESULT(result, zbx_strdup(NULL, "Agent was compiled without support for \"sensordev\" structure."));