Code

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 1ef17a58e087819af6dca5e4fb902ec1e9d09394..f47b0366a13aecdba3d5d2495f58cc4fc2ac4cc1 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;