Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I59da48be1a2d905d3a7ff485d353fdacddda784d
rule, i, &exclusion_str);
LTTNG_ASSERT(event_rule_status == LTTNG_EVENT_RULE_STATUS_OK);
- copy_ret = lttng_strncpy(exclusions->names[i], exclusion_str,
- sizeof(exclusions->names[i]));
+ copy_ret = lttng_strncpy(
+ LTTNG_EVENT_EXCLUSION_NAME_AT(exclusions, i),
+ exclusion_str,
+ sizeof(LTTNG_EVENT_EXCLUSION_NAME_AT(exclusions, i)));
if (copy_ret) {
free(exclusions);
exclusions = NULL;