X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fconnectivity.c;h=dedcc0af19ac9da67ab7148077b2a9c8fff5df66;hb=aba9820dc2cba6c22e58dcd5e5f94c963530b0bf;hp=30977e1819b08afdf8e8cfc9b6317f4d11515cb9;hpb=84d1e960b05c1ca267369d4a5d9d25ac34c9369f;p=collectd.git diff --git a/src/connectivity.c b/src/connectivity.c index 30977e18..dedcc0af 100644 --- a/src/connectivity.c +++ b/src/connectivity.c @@ -21,16 +21,16 @@ * * Authors: * Red Hat NFVPE - * Andrew Bays + * Andrew Bays * Aneesh Puttur **/ #include "collectd.h" -#include "utils/common/common.h" #include "plugin.h" -#include "utils_complain.h" +#include "utils/common/common.h" #include "utils/ignorelist/ignorelist.h" +#include "utils_complain.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