[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[monit-dev] [monit] r227 committed - fix freebsd4 arguments
From: |
monit |
Subject: |
[monit-dev] [monit] r227 committed - fix freebsd4 arguments |
Date: |
Sat, 28 Aug 2010 13:17:27 +0000 |
Revision: 227
Author: martin2812
Date: Sat Aug 28 06:16:55 2010
Log: fix freebsd4 arguments
http://code.google.com/p/monit/source/detail?r=227
Modified:
/trunk/process/sysdep_FREEBSD.c
=======================================
--- /trunk/process/sysdep_FREEBSD.c Sun May 2 12:57:05 2010
+++ /trunk/process/sysdep_FREEBSD.c Sat Aug 28 06:16:55 2010
@@ -194,7 +194,7 @@
pt[i].cputime = (long)(pinfo[i].kp_proc.p_runtime / 100000);
pt[i].mem_kbyte = (unsigned long)(pinfo[i].kp_eproc.e_vm.vm_rssize *
pagesize_kbyte);
flags = pinfo[i].kp_proc.p_stat;
- args = kvm_getargv(kvm_handle, &pinfo[i].kp_proc, 0);
+ args = kvm_getargv(kvm_handle, &pinfo[i], 0);
procname = pinfo[i].kp_proc.p_comm;
#endif
if (flags == SZOMB)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [monit-dev] [monit] r227 committed - fix freebsd4 arguments,
monit <=