projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Build fix: consumer: aggregate initialization isn't supported
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer-stream.c
diff --git
a/src/common/consumer/consumer-stream.c
b/src/common/consumer/consumer-stream.c
index 1edd908044c453ff5d436ad7da819b1b843ff5f6..a6490abe74352422df4e01190c2390ce91887add 100644
(file)
--- a/
src/common/consumer/consumer-stream.c
+++ b/
src/common/consumer/consumer-stream.c
@@
-670,7
+670,8
@@
struct lttng_consumer_stream *consumer_stream_create(
goto error;
}
goto error;
}
- stream->send_node = CDS_LIST_HEAD_INIT(stream->send_node);
+ stream->send_node = (typeof(stream->send_node))
+ CDS_LIST_HEAD_INIT(stream->send_node);
stream->chan = channel;
stream->key = stream_key;
stream->trace_chunk = trace_chunk;
stream->chan = channel;
stream->key = stream_key;
stream->trace_chunk = trace_chunk;
This page took
0.023962 seconds
and
4
git commands to generate.