projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/collectd.h: Use `#pragma GCC poison' to disable evil functions.
[collectd.git]
/
src
/
collectd.c
diff --git
a/src/collectd.c
b/src/collectd.c
index
f260c84
..
4e521f9
100644
(file)
--- a/
src/collectd.c
+++ b/
src/collectd.c
@@
-30,6
+30,10
@@
#include "plugin.h"
#include "configfile.h"
#include "plugin.h"
#include "configfile.h"
+#if HAVE_STATGRAB_H
+# include <statgrab.h>
+#endif
+
/*
* Global variables
*/
/*
* Global variables
*/
@@
-91,7
+95,7
@@
static int init_hostname (void)
"\"FQDNLookup\" option, but I cannot resolve "
"my hostname to a fully qualified domain "
"name. Please fix you network "
"\"FQDNLookup\" option, but I cannot resolve "
"my hostname to a fully qualified domain "
"name. Please fix you network "
- "configuration.");
+ "configuration."
, hostname_g
);
return (-1);
}
return (-1);
}