Update ABI to select the output method
[lttng-modules.git] / lttng-context-vtid.c
index 665e1a9c21755bb8b4a4aab4f07e6dcdf4ce00b1..522d2bd6112b8bb74c9be53ea172324f7d1363f4 100644 (file)
@@ -40,11 +40,10 @@ void vtid_record(struct lttng_ctx_field *field,
 int lttng_add_vtid_to_ctx(struct lttng_ctx **ctx)
 {
        struct lttng_ctx_field *field;
-       int ret;
 
        field = lttng_append_context(ctx);
        if (!field)
-               return ret;
+               return -ENOMEM;
        field->event_field.name = "vtid";
        field->event_field.type.atype = atype_integer;
        field->event_field.type.u.basic.integer.size = sizeof(pid_t) * CHAR_BIT;
This page took 0.022859 seconds and 4 git commands to generate.