summaryrefslogtreecommitdiffstats
path: root/src/zabbix_agent
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-11-15 21:58:15 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-11-15 21:58:15 +0000
commitaa5625aedb61676a3d82068cce0146fa64fa4d35 (patch)
treecbf956246dbce3d014153813201dcfb91993d2b5 /src/zabbix_agent
parent2c588e4eb27d43d8a0fe2ee19319a131f6454b4f (diff)
downloadzabbix-aa5625aedb61676a3d82068cce0146fa64fa4d35.tar.gz
zabbix-aa5625aedb61676a3d82068cce0146fa64fa4d35.tar.xz
zabbix-aa5625aedb61676a3d82068cce0146fa64fa4d35.zip
- [ZBX-106] support of 16 processors for system.cpu.util[], other fixes (Alexei)
[svn merge -r5054:5057 svn://svn.zabbix.com/branches/1.4] git-svn-id: svn://svn.zabbix.com/trunk@5058 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/zabbix_agent')
-rw-r--r--src/zabbix_agent/cpustat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zabbix_agent/cpustat.h b/src/zabbix_agent/cpustat.h
index 6b05b371..f437243d 100644
--- a/src/zabbix_agent/cpustat.h
+++ b/src/zabbix_agent/cpustat.h
@@ -41,7 +41,7 @@
typedef struct s_cpus_stat_data
{
- ZBX_SINGLE_CPU_STAT_DATA cpu[MAX_CPU];
+ ZBX_SINGLE_CPU_STAT_DATA cpu[MAX_CPU+1];
int count;
double load1;
@@ -91,7 +91,7 @@
typedef struct s_cpus_stat_data
{
- ZBX_SINGLE_CPU_STAT_DATA cpu[MAX_CPU];
+ ZBX_SINGLE_CPU_STAT_DATA cpu[MAX_CPU+1];
int count;
} ZBX_CPUS_STAT_DATA;