diff options
Diffstat (limited to 'src/plugins_d.c')
-rw-r--r--[-rwxr-xr-x] | src/plugins_d.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins_d.c b/src/plugins_d.c index eb8f141b8..b8524d99c 100755..100644 --- a/src/plugins_d.c +++ b/src/plugins_d.c @@ -16,6 +16,7 @@ #include "rrd.h" #include "popen.h" #include "plugins_d.h" +#include "../config.h" struct plugind *pluginsd_root = NULL; @@ -218,7 +219,7 @@ void *pluginsd_worker_thread(void *arg) break; } - if(unlikely(st->debug)) debug(D_PLUGINSD, "PLUGINSD: '%s' is requesting a END on chart %s", cd->fullfilename, st->id); + if(unlikely(st->debug)) debug(D_PLUGINSD, "PLUGINSD: '%s' is requesting an END on chart %s", cd->fullfilename, st->id); rrdset_done(st); st = NULL; @@ -406,7 +407,7 @@ void *pluginsd_worker_thread(void *arg) } if(unlikely(!count && cd->enabled)) { - error("PLUGINSD: '%s' (pid %d) does not generate usefull output. Waiting a bit before starting it again.", cd->fullfilename, cd->pid); + error("PLUGINSD: '%s' (pid %d) does not generate useful output. Waiting a bit before starting it again.", cd->fullfilename, cd->pid); sleep((unsigned int) (cd->update_every * 10)); } @@ -528,5 +529,3 @@ void *pluginsd_main(void *ptr) pthread_exit(NULL); return NULL; } - - |