projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #1856 from rubenk/snmp-dont-dispatch-values-with-empty-type-instance
[collectd.git]
/
src
/
multimeter.c
diff --git
a/src/multimeter.c
b/src/multimeter.c
index
491e641
..
02fe1ad
100644
(file)
--- a/
src/multimeter.c
+++ b/
src/multimeter.c
@@
-149,10
+149,9
@@
static int multimeter_read_value(double *value)
static int multimeter_init (void)
{
static int multimeter_init (void)
{
- int i;
char device[] = "/dev/ttyS ";
char device[] = "/dev/ttyS ";
- for (i = 0; i < 10; i++)
+ for (i
nt i
= 0; i < 10; i++)
{
device[strlen(device)-1] = i + '0';
{
device[strlen(device)-1] = i + '0';