From 96bb1c1cbd80b1425b4900af870dba45302e57e4 Mon Sep 17 00:00:00 2001 From: octo Date: Wed, 7 Jun 2006 16:53:54 +0000 Subject: [PATCH] freebsd branch: memory plugin: Quick bugfix. Works under FreeBSD now. --- src/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/memory.c b/src/memory.c index 6c89dbcb..a6fc1abf 100644 --- a/src/memory.c +++ b/src/memory.c @@ -213,7 +213,7 @@ static void memory_read (void) { len = sizeof (int); if ((status = sysctlbyname (sysctl_keys[i], - (void *) &sysctl_vals[i], len, + (void *) &sysctl_vals[i], &len, NULL, 0)) < 0) { syslog (LOG_ERR, "memory plugin: sysctlbyname (%s): %s", -- 2.11.0