X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer-stream.c;h=1e3bfe7853f905addf8cee2efbefb3ccd6f9446f;hp=1e4b9c92a8813746a3e988a18b7c49d6c22beb8c;hb=2932b393f5e79a6d57f0126778372ed286348a96;hpb=3e20eae8260e21b31214031f63ea651902b2bc85;ds=sidebyside diff --git a/src/common/consumer/consumer-stream.c b/src/common/consumer/consumer-stream.c index 1e4b9c92a..1e3bfe785 100644 --- a/src/common/consumer/consumer-stream.c +++ b/src/common/consumer/consumer-stream.c @@ -1150,16 +1150,16 @@ int consumer_stream_create_output_files(struct lttng_consumer_stream *stream, goto end; } stream->out_fd = -1; - } + } DBG("Opening stream output file \"%s\"", stream_path); chunk_status = lttng_trace_chunk_open_file(stream->trace_chunk, stream_path, flags, mode, &stream->out_fd, false); - if (chunk_status != LTTNG_TRACE_CHUNK_STATUS_OK) { + if (chunk_status != LTTNG_TRACE_CHUNK_STATUS_OK) { ERR("Failed to open stream file \"%s\"", stream->name); ret = -1; goto end; - } + } if (!stream->metadata_flag && (create_index || stream->index_file)) { if (stream->index_file) {