projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07af047
)
memory plugin: constify
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 12:36:50 +0000
(13:36 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 12:36:50 +0000
(13:36 +0100)
src/memory.c
patch
|
blob
|
history
diff --git
a/src/memory.c
b/src/memory.c
index
ea16ce3
..
3d8a867
100644
(file)
--- a/
src/memory.c
+++ b/
src/memory.c
@@
-237,7
+237,7
@@
static int memory_read_internal (value_list_t *vl)
* vm.stats.vm.v_inactive_count: 113730
* vm.stats.vm.v_cache_count: 10809
*/
- char *sysctl_keys[8] =
+ c
onst c
har *sysctl_keys[8] =
{
"vm.stats.vm.v_page_size",
"vm.stats.vm.v_page_count",