X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fsession.c;h=8f61e715fe5af8490f2cc8c5e7822a75e3d3bbde;hp=241a3c23fea88fbb8f953c0316187a5ba8b631fd;hb=c70636a7342f34e3be68fcf411cf3e3718b8e73f;hpb=482b1157950e665c952ca8393e491fc9fc699157 diff --git a/src/bin/lttng-relayd/session.c b/src/bin/lttng-relayd/session.c index 241a3c23f..8f61e715f 100644 --- a/src/bin/lttng-relayd/session.c +++ b/src/bin/lttng-relayd/session.c @@ -19,9 +19,10 @@ #define _LGPL_SOURCE #include -#include +#include #include #include +#include #include #include @@ -328,7 +329,7 @@ struct relay_session *session_create(const char *session_name, session->id_sessiond.value, *current_chunk_id); if (!session->current_trace_chunk) { - char uuid_str[UUID_STR_LEN]; + char uuid_str[LTTNG_UUID_STR_LEN]; lttng_uuid_to_str(sessiond_uuid, uuid_str); ERR("Could not find trace chunk: sessiond = {%s}, sessiond session id = %" PRIu64 ", trace chunk id = %" PRIu64,