From: ale@biancalanas.net Date: Fri, 1 May 2015 16:48:28 +0000 (+0000) Subject: fixes processes plugin on FreeBSD Jail X-Git-Tag: collectd-5.5.0~12^2~5^2~6 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=acad0c60161f6ccc4bb17e6860c99c174d5f85ca;p=collectd.git fixes processes plugin on FreeBSD Jail --- 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",