X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fustcomm.c;h=6afa903d87112a8dd4c2663a9879a9a0649c53ab;hb=0b7bf25dd97168c3410e5601280637c0f64928ef;hp=2c1836092e0968be1a99192060857c27000cb2ff;hpb=fadbdd35ed7dada6920c0b31c5e46ded7bd1569f;p=lttng-ust.git diff --git a/src/common/ustcomm.c b/src/common/ustcomm.c index 2c183609..6afa903d 100644 --- a/src/common/ustcomm.c +++ b/src/common/ustcomm.c @@ -998,7 +998,7 @@ int serialize_dynamic_type(struct lttng_ust_session *session, strncpy(uf->name, field_name, LTTNG_UST_ABI_SYM_NAME_LEN); uf->name[LTTNG_UST_ABI_SYM_NAME_LEN - 1] = '\0'; - uf->type.atype = lttng_ust_ctl_atype_variant; + uf->type.atype = lttng_ust_ctl_atype_variant_nestable; uf->type.u.variant_nestable.nr_choices = nr_choices; strncpy(uf->type.u.variant_nestable.tag_name, tag_field_name,