X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fted.c;h=ff650a8d5bfa1b7e9ff942cc71576a6f1f7b9b0a;hp=b5fa4c1ece7c86ed9e59583ec481d3c905d0fb4e;hb=48efd3deb4c9139fd060ff3d289896e9031bcc7c;hpb=a0412f28fc15eb04a9a630678a97b6bce2d71fb1 diff --git a/src/ted.c b/src/ted.c index b5fa4c1e..ff650a8d 100644 --- a/src/ted.c +++ b/src/ted.c @@ -36,8 +36,8 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" #if HAVE_TERMIOS_H && HAVE_SYS_IOCTL_H #include @@ -243,7 +243,7 @@ static int ted_config(const char *key, const char *value) { tmp = atoi(value); if (tmp < 0) { - WARNING("ted plugin: Invalid retry count: %i", tmp); + ERROR("ted plugin: Invalid retry count: %i", tmp); return 1; } conf_retries = tmp;