projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ea1f5a
)
Change error message when read callback name is duplicated while registering it.
author
Pavel Rochnyack
<pavel2000@ngs.ru>
Thu, 6 Jul 2017 19:07:43 +0000
(
02:07
+0700)
committer
Pavel Rochnyack
<pavel2000@ngs.ru>
Mon, 24 Jul 2017 06:31:27 +0000
(13:31 +0700)
The message `Check for duplicate "LoadPlugin" lines` is obsolete, as there is a special check in `plugin_load()` for this case.
src/daemon/plugin.c
patch
|
blob
|
history
diff --git
a/src/daemon/plugin.c
b/src/daemon/plugin.c
index
d22bd94
..
ae99d5f
100644
(file)
--- a/
src/daemon/plugin.c
+++ b/
src/daemon/plugin.c
@@
-1126,8
+1126,7
@@
static int plugin_insert_read(read_func_t *rf) {
if (le != NULL) {
pthread_mutex_unlock(&read_lock);
WARNING("The read function \"%s\" is already registered. "
- "Check for duplicate \"LoadPlugin\" lines "
- "in your configuration!",
+ "Check for duplicates in your configuration!",
rf->rf_name);
return EINVAL;
}