summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 74da579)
raw | patch | inline | side by side (parent: 74da579)
author | octo <octo> | |
Wed, 7 Jun 2006 16:53:54 +0000 (16:53 +0000) | ||
committer | octo <octo> | |
Wed, 7 Jun 2006 16:53:54 +0000 (16:53 +0000) |
src/memory.c | patch | blob | history |
diff --git a/src/memory.c b/src/memory.c
index 6c89dbcb77110070fa3eab995cb00cd728ab9c6f..a6fc1abf381db3572d479b02257226414d6bf2bc 100644 (file)
--- a/src/memory.c
+++ b/src/memory.c
{
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",