From: Florian Forster Date: Mon, 2 Apr 2012 08:04:23 +0000 (+0200) Subject: ethstat plugin: Fix a typo. X-Git-Tag: collectd-5.1.0~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;ds=sidebyside;h=5e5234e4c584b13f0701ee48546b9ae39436319b;p=collectd.git ethstat plugin: Fix a typo. --- diff --git a/src/ethstat.c b/src/ethstat.c index bc024771..ae1b6893 100644 --- a/src/ethstat.c +++ b/src/ethstat.c @@ -303,10 +303,9 @@ static int ethstat_read_interface (char *device) { const char *stat_name; - stat_name = (void *) &strings->data[i * ETH_GSTRING_LEN], - DEBUG("ethstat plugin: device = \"%s\": %s = %"PRIu64, - device, stat_name, - (uint64_t) stats->data[i]); + stat_name = (void *) &strings->data[i * ETH_GSTRING_LEN]; + DEBUG("ethstat plugin: device = \"%s\": %s = %"PRIu64, + device, stat_name, (uint64_t) stats->data[i]); ethstat_submit_value (device, stat_name, (derive_t) stats->data[i]); }