X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fsmart.c;h=7b39aaee867c83f8d5fdaa3cbb18535f19e6f58b;hb=8d5bd199bc3c2e54d4ed28dddfba76bc8ca62623;hp=2207bd6722449f4de11c3b89a976817ba8702558;hpb=791e99923dbbf045b11fbd7b0ea8df647e29593e;p=collectd.git 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;