X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flttng-context-hostname.c;h=55116cfbfedd111df407170a9d3f2fef24805b2a;hb=12bb2edb6ed3e96d3299a979e49b828f2b17dcb2;hp=86c5d021dd9c42f4cfedbfc250d889a691e5a7f9;hpb=196bfc6a04f069e57803c9a2a18f2528394ceacd;p=lttng-modules.git diff --git a/src/lttng-context-hostname.c b/src/lttng-context-hostname.c index 86c5d021..55116cfb 100644 --- a/src/lttng-context-hostname.c +++ b/src/lttng-context-hostname.c @@ -90,7 +90,7 @@ int lttng_add_hostname_to_ctx(struct lttng_ctx **ctx) return -EEXIST; } field->event_field.name = "hostname"; - field->event_field.type.atype = atype_array_nestable; + field->event_field.type.type = lttng_kernel_type_array_nestable; field->event_field.type.u.array_nestable.elem_type = &hostname_array_elem_type; field->event_field.type.u.array_nestable.length = LTTNG_HOSTNAME_CTX_LEN;