From d3a662b17b4f1a6638ac56ef06c7de52dd4f0a97 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 5 Mar 2016 13:36:50 +0100 Subject: [PATCH] memory plugin: constify --- src/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/memory.c b/src/memory.c index ea16ce31..3d8a867a 100644 --- 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] = + const char *sysctl_keys[8] = { "vm.stats.vm.v_page_size", "vm.stats.vm.v_page_count", -- 2.30.2