projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2660 from pbostley/master
[collectd.git]
/
src
/
netlink.c
diff --git
a/src/netlink.c
b/src/netlink.c
index
b5ae3bd
..
0f71ce7
100644
(file)
--- a/
src/netlink.c
+++ b/
src/netlink.c
@@
-464,7
+464,7
@@
static int qos_filter_cb(const struct nlmsghdr *nlh, void *args) {
if ((tm->tcm_ifindex >= 0) && ((size_t)tm->tcm_ifindex >= iflist_len)) {
ERROR("netlink plugin: qos_filter_cb: tm->tcm_ifindex = %i "
if ((tm->tcm_ifindex >= 0) && ((size_t)tm->tcm_ifindex >= iflist_len)) {
ERROR("netlink plugin: qos_filter_cb: tm->tcm_ifindex = %i "
- ">= iflist_len = %
zu"
,
+ ">= iflist_len = %
" PRIsz
,
tm->tcm_ifindex, iflist_len);
return MNL_CB_ERROR;
}
tm->tcm_ifindex, iflist_len);
return MNL_CB_ERROR;
}
@@
-717,7
+717,7
@@
static int ir_read(void) {
continue;
}
continue;
}
- DEBUG("netlink plugin: ir_read: querying %s from %s (%
zu
).",
+ DEBUG("netlink plugin: ir_read: querying %s from %s (%
" PRIsz "
).",
type_name[type_index], iflist[ifindex], ifindex);
nlh = mnl_nlmsg_put_header(buf);
type_name[type_index], iflist[ifindex], ifindex);
nlh = mnl_nlmsg_put_header(buf);