X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Flib%2Flttng-ctl%2Fchannel.cpp;fp=src%2Flib%2Flttng-ctl%2Fchannel.cpp;h=f464e7000573ac0381b366b51a50b660845f61c5;hp=e7b044ac05aafad89f3ff9af02e611619b8b8b3c;hb=1c9a0b0e83c7e073c4e576c0bed95de335b0e502;hpb=c10f9cdd994258358bb3766c2e92dab71e4ceef2 diff --git a/src/lib/lttng-ctl/channel.cpp b/src/lib/lttng-ctl/channel.cpp index e7b044ac0..f464e7000 100644 --- a/src/lib/lttng-ctl/channel.cpp +++ b/src/lib/lttng-ctl/channel.cpp @@ -575,6 +575,7 @@ int handshake(struct lttng_notification_channel *channel) struct lttng_notification_channel_message msg_header = { .type = LTTNG_NOTIFICATION_CHANNEL_MESSAGE_TYPE_HANDSHAKE, .size = sizeof(handshake), + .fds = 0, }; char send_buffer[sizeof(msg_header) + sizeof(handshake)]; @@ -623,6 +624,8 @@ enum lttng_notification_channel_status send_condition_command( struct lttng_payload payload; struct lttng_notification_channel_message cmd_header = { .type = (int8_t) type, + .size =0, + .fds = 0, }; lttng_payload_init(&payload);