copytrace: create empty stream classes by default
[babeltrace.git] / plugins / libctfcopytrace / ctfcopytrace.c
index 22f2785e285db5bddf7da999b2811c68f428d0c7..5c78d6f8c968b89f7ed665e8d77eef620200c48e 100644 (file)
@@ -390,7 +390,7 @@ struct bt_ctf_stream_class *ctf_copy_stream_class(FILE *err,
                name = NULL;
        }
 
-       writer_stream_class = bt_ctf_stream_class_create(name);
+       writer_stream_class = bt_ctf_stream_class_create_empty(name);
        if (!writer_stream_class) {
                fprintf(err, "[error] %s in %s:%d\n",
                                __func__, __FILE__, __LINE__);
This page took 0.024124 seconds and 4 git commands to generate.