From: Ruben Kerkhof Date: Sat, 5 Mar 2016 12:56:17 +0000 (+0100) Subject: netlink plugin: constify X-Git-Tag: collectd-5.6.0~425 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=17940d824d432c8f67706591d1188d69b07e93b6;p=collectd.git netlink plugin: constify --- diff --git a/src/netlink.c b/src/netlink.c index e1f378d9..d4661ce8 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -470,7 +470,7 @@ static int qos_filter_cb (const struct nlmsghdr *nlh, void *args) const char *kind = NULL; /* char *type_instance; */ - char *tc_type; + const char *tc_type; char tc_inst[DATA_MAX_NAME_LEN]; _Bool stats_submitted = 0;