summaryrefslogtreecommitdiffstats
path: root/src/libs/zbxsysinfo/openbsd
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-11-04 12:58:10 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-11-04 12:58:10 +0000
commitd6c2eca81b4a09eb7bdbacc5dbf99adb62d36620 (patch)
tree8300574278adb99b2a0cca930d05371b0e7f3b19 /src/libs/zbxsysinfo/openbsd
parent5e0808f4c3466bafba77b4c6df70d89eb3d0dfe7 (diff)
downloadzabbix-d6c2eca81b4a09eb7bdbacc5dbf99adb62d36620.tar.gz
zabbix-d6c2eca81b4a09eb7bdbacc5dbf99adb62d36620.tar.xz
zabbix-d6c2eca81b4a09eb7bdbacc5dbf99adb62d36620.zip
*** empty log message ***
git-svn-id: svn://svn.zabbix.com/trunk@2272 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'src/libs/zbxsysinfo/openbsd')
-rw-r--r--src/libs/zbxsysinfo/openbsd/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/zbxsysinfo/openbsd/proc.c b/src/libs/zbxsysinfo/openbsd/proc.c
index a9d95bdc..7e335899 100644
--- a/src/libs/zbxsysinfo/openbsd/proc.c
+++ b/src/libs/zbxsysinfo/openbsd/proc.c
@@ -373,7 +373,7 @@ int PROC_NUM(const char *cmd, const char *param, unsigned flags, AGENT_RESUL
kp = kvm_open(NULL,NULL,NULL,O_RDONLY,NULL);
if(kp)
{
- proc = kvm_getproc(kp, KERN_PROC_ALL, 0, &count);
+ proc = kvm_getprocs(kp, KERN_PROC_ALL, 0, &count);
if (proc)
{
for (i = 0; i < count; i++)