X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Findex.c;h=9c307790ac5f3f332e7695ff9790782b76683400;hp=cb7ae3db966e34ae3205c00a4f04f15853f3e247;hb=890d8fe47755c3bad936389cf48ffa141cff41c9;hpb=3d07a857948f868354589ff742b0a2f6277f558f diff --git a/src/bin/lttng-relayd/index.c b/src/bin/lttng-relayd/index.c index cb7ae3db9..9c307790a 100644 --- a/src/bin/lttng-relayd/index.c +++ b/src/bin/lttng-relayd/index.c @@ -17,7 +17,6 @@ * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include @@ -144,7 +143,7 @@ struct relay_index *relay_index_get_by_id_or_create(struct relay_stream *stream, index = relay_index_create(stream, net_seq_num); if (!index) { ERR("Cannot create index for stream id %" PRIu64 " and seq_num %" PRIu64, - index->stream->stream_handle, net_seq_num); + stream->stream_handle, net_seq_num); goto end; } oldindex = relay_index_add_unique(stream, index);