projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
67c2a62
)
Cast cdtime_t to unsigned long long when necessary
author
Andrew Bays
<andrew.bays@gmail.com>
Mon, 17 Jun 2019 11:51:42 +0000
(07:51 -0400)
committer
Andrew Bays
<andrew.bays@gmail.com>
Wed, 4 Sep 2019 17:08:04 +0000
(13:08 -0400)
src/connectivity.c
patch
|
blob
|
history
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