summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3512bb1)
raw | patch | inline | side by side (parent: 3512bb1)
author | Dan Thomson <dan@astutehosting.com> | |
Fri, 7 Sep 2012 02:00:11 +0000 (19:00 -0700) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 7 Sep 2012 08:54:52 +0000 (10:54 +0200) |
I noticed a small error in snmp.c in collectd-5.1.0 (might be
elsewhere). The warning message in csnmp_config_add_data_shift says
"Scale config option" instead of "Shift" config option:
[…]
Signed-off-by: Florian Forster <octo@collectd.org>
elsewhere). The warning message in csnmp_config_add_data_shift says
"Scale config option" instead of "Shift" config option:
[…]
Signed-off-by: Florian Forster <octo@collectd.org>
src/snmp.c | patch | blob | history |
diff --git a/src/snmp.c b/src/snmp.c
index 5f7d3e9c2a548a704a3b931d385f2817f6c3c9b0..2b0b463fd63f778041ac7814b7a682e7d18e4de2 100644 (file)
--- a/src/snmp.c
+++ b/src/snmp.c
@@ -302,7 +302,7 @@ static int csnmp_config_add_data_shift (data_definition_t *dd, oconfig_item_t *c
if ((ci->values_num != 1)
|| (ci->values[0].type != OCONFIG_TYPE_NUMBER))
{
- WARNING ("snmp plugin: The `Scale' config option needs exactly one number argument.");
+ WARNING ("snmp plugin: The `Shift' config option needs exactly one number argument.");
return (-1);
}