diff options
Diffstat (limited to 'src/libs/zbxsysinfo/openbsd/kernel.c')
-rw-r--r-- | src/libs/zbxsysinfo/openbsd/kernel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/zbxsysinfo/openbsd/kernel.c b/src/libs/zbxsysinfo/openbsd/kernel.c index 2e122ed6..a680d121 100644 --- a/src/libs/zbxsysinfo/openbsd/kernel.c +++ b/src/libs/zbxsysinfo/openbsd/kernel.c @@ -29,7 +29,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; @@ -53,7 +53,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; @@ -78,7 +78,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) { |