projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74da579
)
freebsd branch: memory plugin: Quick bugfix. Works under FreeBSD now.
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
6c89dbc
..
a6fc1ab
100644
(file)
--- 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",