projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3359 from Stackdriver/igorpeshansky-upstream-read_text_file_contents
[collectd.git]
/
src
/
connectivity.c
diff --git
a/src/connectivity.c
b/src/connectivity.c
index
dfb0771
..
45b65aa
100644
(file)
--- a/
src/connectivity.c
+++ b/
src/connectivity.c
@@
-27,10
+27,10
@@
#include "collectd.h"
#include "collectd.h"
-#include "common.h"
#include "plugin.h"
#include "plugin.h"
+#include "utils/common/common.h"
+#include "utils/ignorelist/ignorelist.h"
#include "utils_complain.h"
#include "utils_complain.h"
-#include "utils_ignorelist.h"
#include <asm/types.h>
#include <errno.h>
#include <asm/types.h>
#include <errno.h>
@@
-474,7
+474,8
@@
static int connectivity_link_state(struct nlmsghdr *msg) {
}
DEBUG("connectivity plugin (%llu): Interface %s status is now %s",
}
DEBUG("connectivity plugin (%llu): Interface %s status is now %s",
- il->timestamp, dev, ((ifi->ifi_flags & IFF_RUNNING) ? "UP" : "DOWN"));
+ (unsigned long long)il->timestamp, dev,
+ ((ifi->ifi_flags & IFF_RUNNING) ? "UP" : "DOWN"));
// no need to loop again, we found the interface name attr
// (otherwise the first if-statement in the loop would
// no need to loop again, we found the interface name attr
// (otherwise the first if-statement in the loop would