fixed autosample process
[svn42.git] / powersensordaemon / autosample.c
index a468625..d72af0a 100644 (file)
@@ -146,6 +146,7 @@ int autosample_process(options_t *opt, int writefd, int readfd)
     devices[i].device_name_ = k->string_;
     k = k->next_;
     v = v->next_;
+    i++;
   }
 
   int sig_fd = signal_init();