projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef7f607
)
ethstat plugin: Fix a typo.
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
bc02477
..
ae1b689
100644
(file)
--- 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]);
}