projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/configfile.c: Fix a typo in two error messages.
[collectd.git]
/
src
/
configfile.c
diff --git
a/src/configfile.c
b/src/configfile.c
index
1a957f6
..
2ef5f04
100644
(file)
--- a/
src/configfile.c
+++ b/
src/configfile.c
@@
-927,7
+927,7
@@
int cf_util_get_string (const oconfig_item_t *ci, char **ret_string) /* {{{ */
if ((ci->values_num != 1) || (ci->values[0].type != OCONFIG_TYPE_STRING))
{
if ((ci->values_num != 1) || (ci->values[0].type != OCONFIG_TYPE_STRING))
{
- ERROR ("cf_util_get_string: The %s
plugi
n requires "
+ ERROR ("cf_util_get_string: The %s
optio
n requires "
"exactly one string argument.", ci->key);
return (-1);
}
"exactly one string argument.", ci->key);
return (-1);
}
@@
-950,7
+950,7
@@
int cf_util_get_port_number (const oconfig_item_t *ci) /* {{{ */
{
if ((ci->values_num != 1) || (ci->values[0].type != OCONFIG_TYPE_STRING))
{
{
if ((ci->values_num != 1) || (ci->values[0].type != OCONFIG_TYPE_STRING))
{
- ERROR ("cf_util_get_port_number: The %s
plugi
n requires "
+ ERROR ("cf_util_get_port_number: The %s
optio
n requires "
"exactly one string argument.", ci->key);
return (-1);
}
"exactly one string argument.", ci->key);
return (-1);
}