From 5e5234e4c584b13f0701ee48546b9ae39436319b Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 2 Apr 2012 10:04:23 +0200 Subject: [PATCH] ethstat plugin: Fix a typo. --- src/ethstat.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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]); } -- 2.30.2