From acad0c60161f6ccc4bb17e6860c99c174d5f85ca Mon Sep 17 00:00:00 2001 From: "ale@biancalanas.net" Date: Fri, 1 May 2015 16:48:28 +0000 Subject: [PATCH] fixes processes plugin on FreeBSD Jail --- src/processes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processes.c b/src/processes.c index c77859d9..6caea54c 100644 --- a/src/processes.c +++ b/src/processes.c @@ -1799,7 +1799,7 @@ static int ps_read (void) ps_list_reset (); /* Open the kvm interface, get a descriptor */ - kd = kvm_open (NULL, NULL, NULL, 0, errbuf); + kd = kvm_openfiles (NULL, "/dev/null", NULL, 0, errbuf); if (kd == NULL) { ERROR ("processes plugin: Cannot open kvm interface: %s", -- 2.11.0