From: Ruben Kerkhof Date: Sat, 5 Mar 2016 16:36:05 +0000 (+0100) Subject: zfs_arc plugin: constify X-Git-Tag: collectd-5.6.0~414 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=98c91c43a9aa8d274e2db3fca6d9104e95ab290a;p=collectd.git zfs_arc plugin: constify --- diff --git a/src/zfs_arc.c b/src/zfs_arc.c index 1a7613c7..515ed979 100644 --- a/src/zfs_arc.c +++ b/src/zfs_arc.c @@ -71,7 +71,7 @@ static int put_zfs_value (kstat_t *ksp, char const *k, value_t v) return 0; } -static long long get_zfs_value(kstat_t *ksp, char *key) +static long long get_zfs_value(kstat_t *ksp, const char *key) { llentry_t *e; value_t *v;