summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxsysinfo/unknown/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/zbxsysinfo/unknown/kernel.c')
-rw-r--r--src/libs/zbxsysinfo/unknown/kernel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/zbxsysinfo/unknown/kernel.c b/src/libs/zbxsysinfo/unknown/kernel.c
index 14157f22..84c5067b 100644
--- a/src/libs/zbxsysinfo/unknown/kernel.c
+++ b/src/libs/zbxsysinfo/unknown/kernel.c
@@ -30,7 +30,7 @@ int KERNEL_MAXFILES(const char *cmd, const char *param, unsigned flags, AGENT_RE
assert(result);
- clean_result(result);
+ init_result(result);
mib[0]=CTL_KERN;
mib[1]=KERN_MAXFILES;
@@ -58,7 +58,7 @@ int KERNEL_MAXPROC(const char *cmd, const char *param, unsigned flags, AGENT_RES
assert(result);
- clean_result(result);
+ init_result(result);
mib[0]=CTL_KERN;
mib[1]=KERN_MAXPROC;
@@ -86,7 +86,7 @@ int OLD_KERNEL(const char *cmd, const char *param, unsigned flags, AGENT_RES
assert(result);
- clean_result(result);
+ init_result(result);
if(num_param(param) > 1)
{