netapp plugin: Fix a typo.
[collectd.git] / src / netapp.c
index 36159d7..e4793e0 100644 (file)
@@ -1134,7 +1134,7 @@ static void cna_config_volume_performance_option (host_config_t *host, /* {{{ */
        } /* for (i = 0 .. item->values_num) */
 } /* }}} void cna_config_volume_performance_option */
 
-/* Corresponds to a <GetDiskPerfData /> block */
+/* Corresponds to a <GetVolumePerfData /> block */
 static void cna_config_volume_performance(host_config_t *host, const oconfig_item_t *ci) { /* {{{ */
        int i, had_io = 0, had_ops = 0, had_latency = 0;
        cfg_service_t *service;
@@ -1278,7 +1278,7 @@ static void cna_config_disk(host_config_t *temp, oconfig_item_t *ci) { /* {{{ */
                if (!strcasecmp(item->key, "Multiplier")) {
                        cna_config_get_multiplier (item, service);
                } else if (!strcasecmp(item->key, "GetBusy")) {
-                       cna_config_bool_to_flag (item, &cfg_disk->flags, CFG_SYSTEM_CPU);
+                       cna_config_bool_to_flag (item, &cfg_disk->flags, CFG_DISK_BUSIEST);
                }
        }
 } /* }}} void cna_config_disk */