Fixed VolumePerf data collection.
authorSven Trenkel <collectd@semidefinite.de>
Wed, 30 Sep 2009 12:13:44 +0000 (14:13 +0200)
committerSven Trenkel <collectd@semidefinite.de>
Wed, 30 Sep 2009 12:13:44 +0000 (14:13 +0200)
src/netapp.c

index 1ef17a5..f47b036 100644 (file)
@@ -1210,7 +1210,7 @@ static int cna_handle_volume_perf_data (const char *hostname, /* {{{ */
                        continue;
 
                /* get_volume_perf may return NULL if this volume is to be ignored. */
-               v = get_volume_perf (cvp, perf_data.name);
+               v = get_volume_perf (cvp, name);
                if (v == NULL)
                        continue;