netlink: ensure size_t portability in DEBUG() statement
[collectd.git] / src / netlink.c
index 422dc8c..3c4642c 100644 (file)
@@ -683,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);