summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ef7f607)
raw | patch | inline | side by side (parent: ef7f607)
author | Florian Forster <octo@collectd.org> | |
Mon, 2 Apr 2012 08:04:23 +0000 (10:04 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Mon, 2 Apr 2012 08:04:23 +0000 (10:04 +0200) |
src/ethstat.c | patch | blob | history |
diff --git a/src/ethstat.c b/src/ethstat.c
index bc02477176016307e095f9b7550e2fe0145f78e3..ae1b68931d898830cca2a67e9aa2cc8034371803 100644 (file)
--- a/src/ethstat.c
+++ b/src/ethstat.c
{
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]);
}