Move collectd daemon files to the src/daemon/ directory.
[collectd.git] / src / cpu.c
index 9f7a688..b4ceff6 100644 (file)
--- a/src/cpu.c
+++ b/src/cpu.c
@@ -19,7 +19,7 @@
  * 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  *
  * Authors:
- *   Florian octo Forster <octo at verplant.org>
+ *   Florian octo Forster <octo at collectd.org>
  *   Oleg King <king2 at kaluga.ru>
  *   Simon Kuhnle <simon at blarzwurst.de>
  *   Manuel Sanmartin
@@ -642,7 +642,7 @@ static int cpu_read (void)
                {
                        derives[CPU_SUBMIT_WAIT] = atoll(fields[5]);
                        derives[CPU_SUBMIT_INTERRUPT] = atoll(fields[6]);
-                       derives[CPU_SUBMIT_SOFTIRQ] = atoll(fields[6]);
+                       derives[CPU_SUBMIT_SOFTIRQ] = atoll(fields[7]);
 
                        if (numfields >= 9)
                                derives[CPU_SUBMIT_STEAL] = atoll(fields[8]);