projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
turbostat: Fix parsing warnings
[collectd.git]
/
src
/
connectivity.c
diff --git
a/src/connectivity.c
b/src/connectivity.c
index
30977e1
..
45b65aa
100644
(file)
--- a/
src/connectivity.c
+++ b/
src/connectivity.c
@@
-27,10
+27,10
@@
#include "collectd.h"
#include "collectd.h"
-#include "utils/common/common.h"
#include "plugin.h"
#include "plugin.h"
-#include "utils
_complai
n.h"
+#include "utils
/common/commo
n.h"
#include "utils/ignorelist/ignorelist.h"
#include "utils/ignorelist/ignorelist.h"
+#include "utils_complain.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