projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
591c55c
)
smart plugin: constify
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 16:05:47 +0000
(17:05 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 16:05:47 +0000
(17:05 +0100)
src/smart.c
patch
|
blob
|
history
diff --git
a/src/smart.c
b/src/smart.c
index
2207bd6
..
7b39aae
100644
(file)
--- 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;