int r = snprintf(type_instance, sizeof(type_instance), "%s-%s", tc_type,
tc_inst);
int r = snprintf(type_instance, sizeof(type_instance), "%s-%s", tc_type,
tc_inst);
ERROR("netlink plugin: type_instance truncated to %zu bytes, need %d",
sizeof(type_instance), r);
return MNL_CB_ERROR;
ERROR("netlink plugin: type_instance truncated to %zu bytes, need %d",
sizeof(type_instance), r);
return MNL_CB_ERROR;
int r = snprintf(type_instance, sizeof(type_instance), "%s-%s", tc_type,
tc_inst);
int r = snprintf(type_instance, sizeof(type_instance), "%s-%s", tc_type,
tc_inst);
ERROR("netlink plugin: type_instance truncated to %zu bytes, need %d",
sizeof(type_instance), r);
return MNL_CB_ERROR;
ERROR("netlink plugin: type_instance truncated to %zu bytes, need %d",
sizeof(type_instance), r);
return MNL_CB_ERROR;