diff --git a/src/multimeter.c b/src/multimeter.c
index 00e9964b85f82718d104c7d4bce8688c702ba6b2..02fe1ad312f4be22a58982bb91f5ce033e29dd3f 100644 (file)
--- a/src/multimeter.c
+++ b/src/multimeter.c
**/
#include "collectd.h"
+
#include "common.h"
#include "plugin.h"
static int multimeter_init (void)
{
- int i;
char device[] = "/dev/ttyS ";
- for (i = 0; i < 10; i++)
+ for (int i = 0; i < 10; i++)
{
device[strlen(device)-1] = i + '0';