summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxsysinfo/aix
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-12-27 16:41:30 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-12-27 16:41:30 +0000
commit988240679e47a57b1c026b854d83f06c18db5cbc (patch)
tree09b263747e51111e8efa55d0c70448a154448d50 /src/libs/zbxsysinfo/aix
parentd8734d8dbcd13f3742dfb4df56052172f77d6049 (diff)
downloadzabbix-988240679e47a57b1c026b854d83f06c18db5cbc.tar.gz
zabbix-988240679e47a57b1c026b854d83f06c18db5cbc.tar.xz
zabbix-988240679e47a57b1c026b854d83f06c18db5cbc.zip
Fixed undefined __UINT64_C under AIX and Solaris.
git-svn-id: svn://svn.zabbix.com/trunk@3647 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxsysinfo/aix')
-rw-r--r--src/libs/zbxsysinfo/aix/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxsysinfo/aix/cpu.c b/src/libs/zbxsysinfo/aix/cpu.c
index a1b98d54..74d91441 100644
--- a/src/libs/zbxsysinfo/aix/cpu.c
+++ b/src/libs/zbxsysinfo/aix/cpu.c
@@ -149,7 +149,7 @@ CPU_FNCLIST
if(type[0] == '\0')
{
/* default parameter */
- zbx_snprintf(type, sizeof(type) "user");
+ zbx_snprintf(type, sizeof(type), "user");
}
if(get_param(param, 3, mode, MAX_STRING_LEN) != 0)