Code

oracle plugin: malloc + memset -> calloc
[collectd.git] / src / memory.c
index ea16ce315f102126d7ca0f497ea8d153fb6c2339..3d8a867a7463c9eab4329d8af34caa1764b8dac5 100644 (file)
@@ -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",