diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libs/zbxsysinfo/osf/cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/zbxsysinfo/osf/cpu.c b/src/libs/zbxsysinfo/osf/cpu.c index e1cab557..9a7270e2 100644 --- a/src/libs/zbxsysinfo/osf/cpu.c +++ b/src/libs/zbxsysinfo/osf/cpu.c @@ -87,7 +87,7 @@ CPU_FNCLIST if(cpuname[0] == '\0') { /* default parameter */ - zbx_snprintf(cpuname, sizeof(cpuname)"all"); + zbx_snprintf(cpuname, sizeof(cpuname), "all"); } if(strncmp(cpuname, "all", sizeof(cpuname))) { @@ -101,7 +101,7 @@ CPU_FNCLIST if(type[0] == '\0') { /* default parameter */ - zbx_snprintf(type, sizeof(tupe), "user"); + zbx_snprintf(type, sizeof(type), "user"); } if(get_param(param, 3, mode, sizeof(mode)) != 0) |