From db37d40a9325544ca28ec33d80564d21bc18b34f Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 13 Oct 2009 19:39:37 +0200 Subject: [PATCH] gmond plugin: Fixed a typo. For some reason, the value_t members "derive" and "absolute" had been spelled in all capital letters, obviously resulting in a build error. --- src/gmond.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gmond.c b/src/gmond.c index 3357ea0b..2ffc42a5 100644 --- a/src/gmond.c +++ b/src/gmond.c @@ -542,9 +542,9 @@ static int staging_entry_update (const char *host, const char *name, /* {{{ */ else if (ds_type == DS_TYPE_GAUGE) se->vl.values[ds_index].gauge = value.gauge; else if (ds_type == DS_TYPE_DERIVE) - se->vl.values[ds_index].DERIVE += value.derive; + se->vl.values[ds_index].derive += value.derive; else if (ds_type == DS_TYPE_ABSOLUTE) - se->vl.values[ds_index].ABSOLUTE = value.absolute; + se->vl.values[ds_index].absolute = value.absolute; se->flags |= (0x01 << ds_index); -- 2.11.0