Prepare for '-Wmissing-field-initializers'
[lttng-tools.git] / src / lib / lttng-ctl / channel.cpp
index e7b044ac05aafad89f3ff9af02e611619b8b8b3c..f464e7000573ac0381b366b51a50b660845f61c5 100644 (file)
@@ -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);
This page took 0.022833 seconds and 4 git commands to generate.