summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxsysinfo/cpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/zbxsysinfo/cpu.c')
-rw-r--r--src/libs/zbxsysinfo/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/zbxsysinfo/cpu.c b/src/libs/zbxsysinfo/cpu.c
index 7a26b569..da971b3a 100644
--- a/src/libs/zbxsysinfo/cpu.c
+++ b/src/libs/zbxsysinfo/cpu.c
@@ -232,7 +232,7 @@ static int getloadavg_kmem(double loadavg[], int nelem)
}
#endif
-int PROCLOAD(const char *cmd, const char *parameter,double *value)
+int SYSTEM_CPU_LOAD1(const char *cmd, const char *parameter,double *value)
{
#ifdef HAVE_GETLOADAVG
double load[3];
@@ -300,7 +300,7 @@ int PROCLOAD(const char *cmd, const char *parameter,double *value)
#endif
}
-int PROCLOAD5(const char *cmd, const char *parameter,double *value)
+int SYSTEM_CPU_LOAD5(const char *cmd, const char *parameter,double *value)
{
#ifdef HAVE_GETLOADAVG
double load[3];
@@ -368,7 +368,7 @@ int PROCLOAD5(const char *cmd, const char *parameter,double *value)
#endif
}
-int PROCLOAD15(const char *cmd, const char *parameter,double *value)
+int SYSTEM_CPU_LOAD15(const char *cmd, const char *parameter,double *value)
{
#ifdef HAVE_GETLOADAVG
double load[3];