Fix debug-info: handle event layouts of lttng-ust traces prior to 2.9
[babeltrace.git] / plugins / lttng-utils / copy.c
index 482f372ad2e7208099d3d520b3a65e9dbac2bc55..972cb36902cdcf32d1c5af85fe170f44e22679d3 100644 (file)
@@ -295,10 +295,11 @@ int get_payload_string_field_value(FILE *err,
        struct bt_ctf_field_type *field_type = NULL;
        int ret;
 
+       /*
+        * The field might not exist, no error here.
+        */
        field = get_payload_field(err, event, field_name);
        if (!field) {
-               fprintf(err, "[error] %s in %s:%d\n", __func__,
-                               __FILE__, __LINE__);
                goto error;
        }
 
This page took 0.024896 seconds and 4 git commands to generate.