X-Git-Url: https://git.lttng.org/?p=lttng-modules.git;a=blobdiff_plain;f=src%2Flttng-context-nice.c;h=411f336e5fdcc014f41d0e5bfcd19c8134f2e644;hp=aaa3643e947cec603b37101fc153a500dd717702;hb=12bb2edb6ed3e96d3299a979e49b828f2b17dcb2;hpb=196bfc6a04f069e57803c9a2a18f2528394ceacd diff --git a/src/lttng-context-nice.c b/src/lttng-context-nice.c index aaa3643e..411f336e 100644 --- a/src/lttng-context-nice.c +++ b/src/lttng-context-nice.c @@ -57,7 +57,7 @@ int lttng_add_nice_to_ctx(struct lttng_ctx **ctx) return -EEXIST; } field->event_field.name = "nice"; - field->event_field.type.atype = atype_integer; + field->event_field.type.type = lttng_kernel_type_integer; field->event_field.type.u.integer.size = sizeof(int) * CHAR_BIT; field->event_field.type.u.integer.alignment = lttng_alignof(int) * CHAR_BIT; field->event_field.type.u.integer.signedness = lttng_is_signed_type(int);