projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix return value or loglevel for several plugins
[collectd.git]
/
src
/
openvpn.c
diff --git
a/src/openvpn.c
b/src/openvpn.c
index
193a9b4
..
10a4259
100644
(file)
--- a/
src/openvpn.c
+++ b/
src/openvpn.c
@@
-28,8
+28,8
@@
#include "collectd.h"
#include "collectd.h"
-#include "common.h"
#include "plugin.h"
#include "plugin.h"
+#include "utils/common/common.h"
/**
* There is two main kinds of OpenVPN status file:
/**
* There is two main kinds of OpenVPN status file:
@@
-506,7
+506,7
@@
static int openvpn_config(const char *key, const char *value) {
});
if (status == EINVAL) {
});
if (status == EINVAL) {
-
WARNING
("openvpn plugin: status filename \"%s\" "
+
ERROR
("openvpn plugin: status filename \"%s\" "
"already used, please choose a "
"different one.",
status_name);
"already used, please choose a "
"different one.",
status_name);