From: Ruben Kerkhof Date: Sat, 5 Mar 2016 16:05:47 +0000 (+0100) Subject: smart plugin: constify X-Git-Tag: collectd-5.6.0~416 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=cbe0a57a344deb084ec92a3db0bbea4558d3da42;p=collectd.git smart plugin: constify --- diff --git a/src/smart.c b/src/smart.c index 2207bd67..7b39aaee 100644 --- a/src/smart.c +++ b/src/smart.c @@ -68,7 +68,8 @@ static int smart_config (const char *key, const char *value) return (0); } /* int smart_config */ -static void smart_submit (const char *dev, char *type, char *type_inst, double value) +static void smart_submit (const char *dev, const char *type, + const char *type_inst, double value) { value_t values[1]; value_list_t vl = VALUE_LIST_INIT;