X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-event-notifier-notification.c;fp=src%2Flttng-event-notifier-notification.c;h=906ed109a8a1e01c7f95011387f724b8b898d86a;hb=12bb2edb6ed3e96d3299a979e49b828f2b17dcb2;hp=b39bfaad58545429beaf217badc56b81df7da3dc;hpb=196bfc6a04f069e57803c9a2a18f2528394ceacd;p=lttng-modules.git diff --git a/src/lttng-event-notifier-notification.c b/src/lttng-event-notifier-notification.c index b39bfaad..906ed109 100644 --- a/src/lttng-event-notifier-notification.c +++ b/src/lttng-event-notifier-notification.c @@ -208,11 +208,11 @@ int capture_sequence(struct lttng_msgpack_writer *writer, ptr = (uint8_t *) output->u.sequence.ptr; nested_type = output->u.sequence.nested_type; - switch (nested_type->atype) { - case atype_integer: + switch (nested_type->type) { + case lttng_kernel_type_integer: integer_type = &nested_type->u.integer; break; - case atype_enum_nestable: + case lttng_kernel_type_enum_nestable: /* Treat enumeration as an integer. */ integer_type = &nested_type->u.enum_nestable.container_type->u.integer; break;