X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fnetlink.c;h=3c4642c296f82ea32c32a80e81db426225188d32;hb=30245d7b0ad267604d3675cfba66c2eda775e236;hp=aaac8c4b0a9682377db6edbece2fbc415457731e;hpb=6fb104a94f9d0065639d2227a163664fe878b6a3;p=collectd.git diff --git a/src/netlink.c b/src/netlink.c index aaac8c4b..3c4642c2 100644 --- a/src/netlink.c +++ b/src/netlink.c @@ -1,6 +1,9 @@ /** * collectd - src/netlink.c * Copyright (C) 2007-2010 Florian octo Forster + * Copyright (C) 2008-2012 Sebastian Harl + * Copyright (C) 2013 Andreas Henriksson + * Copyright (C) 2013 Marc Fournier * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the @@ -17,6 +20,9 @@ * * Authors: * Florian octo Forster + * Sebastian Harl + * Andreas Henriksson + * Marc Fournier **/ #include "collectd.h" @@ -35,7 +41,6 @@ # include #endif -#include #include typedef struct ir_ignorelist_s @@ -678,7 +683,7 @@ static int ir_read (void) continue; } - DEBUG ("netlink plugin: ir_read: querying %s from %s (%lu).", + DEBUG ("netlink plugin: ir_read: querying %s from %s (%zu).", type_name[type_index], iflist[ifindex], ifindex); nlh = mnl_nlmsg_put_header (buf);