diff options
Diffstat (limited to 'src/libs/zbxsysinfo/unknown/sensors.c')
-rw-r--r-- | src/libs/zbxsysinfo/unknown/sensors.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/zbxsysinfo/unknown/sensors.c b/src/libs/zbxsysinfo/unknown/sensors.c index 956ca3d1..4ef03c39 100644 --- a/src/libs/zbxsysinfo/unknown/sensors.c +++ b/src/libs/zbxsysinfo/unknown/sensors.c @@ -37,7 +37,7 @@ static int SENSOR_TEMP1(const char *cmd, const char *param, unsigned flags, AGEN assert(result); - clean_result(result); + init_result(result); dir=opendir("/proc/sys/dev/sensors"); if(NULL == dir) @@ -92,7 +92,7 @@ static int SENSOR_TEMP2(const char *cmd, const char *param, unsigned flags, AGEN assert(result); - clean_result(result); + init_result(result); dir=opendir("/proc/sys/dev/sensors"); if(NULL == dir) @@ -147,7 +147,7 @@ static int SENSOR_TEMP3(const char *cmd, const char *param, unsigned flags, AGEN assert(result); - clean_result(result); + init_result(result); dir=opendir("/proc/sys/dev/sensors"); if(NULL == dir) @@ -196,7 +196,7 @@ int OLD_SENSOR(const char *cmd, const char *param, unsigned flags, AGENT_RES assert(result); - clean_result(result); + init_result(result); if(num_param(param) > 1) { |