X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fconnectivity.c;h=45b65aab5b09c1c5ba35110bbff618f6144de153;hb=b5b5d43f302e0b9290d3e247ea29699814d46abb;hp=dfb07710b88a70be4e8ea84496bbe20884af41e1;hpb=35ca8ad73d9109f4c442d946aa55eeb72c653f45;p=collectd.git diff --git a/src/connectivity.c b/src/connectivity.c index dfb07710..45b65aab 100644 --- a/src/connectivity.c +++ b/src/connectivity.c @@ -27,10 +27,10 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" +#include "utils/ignorelist/ignorelist.h" #include "utils_complain.h" -#include "utils_ignorelist.h" #include #include @@ -474,7 +474,8 @@ static int connectivity_link_state(struct nlmsghdr *msg) { } 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