X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fustcomm.c;h=4c1fb0efb1da750a549af9e19f5382e14e6178f6;hb=61c70d3794a4e8c965bbdbdd19934374ab83a70d;hp=6dfec5eac4d68f047e14855a579ee156921d9f00;hpb=2fbda51c64f28b33b8febffc998af235e6fa9ea9;p=lttng-ust.git diff --git a/src/common/ustcomm.c b/src/common/ustcomm.c index 6dfec5ea..4c1fb0ef 100644 --- a/src/common/ustcomm.c +++ b/src/common/ustcomm.c @@ -1,7 +1,7 @@ /* * SPDX-License-Identifier: LGPL-2.1-only * - * Copyright (C) 2011 David Goulet + * Copyright (C) 2011 EfficiOS Inc. * Copyright (C) 2011-2013 Mathieu Desnoyers */ @@ -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,