X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=plugins%2Flibctfcopytrace%2Fctfcopytrace.c;h=5c78d6f8c968b89f7ed665e8d77eef620200c48e;hp=22f2785e285db5bddf7da999b2811c68f428d0c7;hb=e49da5dd565a2c13516a44dc02382024eba9c8c2;hpb=8aa557db53e12d6cde0e49ba76ba4c9cf0144d5c diff --git a/plugins/libctfcopytrace/ctfcopytrace.c b/plugins/libctfcopytrace/ctfcopytrace.c index 22f2785e..5c78d6f8 100644 --- a/plugins/libctfcopytrace/ctfcopytrace.c +++ b/plugins/libctfcopytrace/ctfcopytrace.c @@ -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__);