X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=liblttngctl%2Flttngctl.c;h=c65760155347d4ca7e576ea7b24132b580d47e7f;hp=c5e8cf8f8cffae86ecce900354f13a0752b4e382;hb=be0406668cc2147087a38ac82d6029b8cc56ba79;hpb=d19d9adaf251b74ab7bd64a1b04a9de22d10bb85 diff --git a/liblttngctl/lttngctl.c b/liblttngctl/lttngctl.c index c5e8cf8f8..c65760155 100644 --- a/liblttngctl/lttngctl.c +++ b/liblttngctl/lttngctl.c @@ -93,7 +93,7 @@ static int send_session_msg(struct lttcomm_session_msg *lsm) goto end; } - ret = lttcomm_send_unix_sock(sessiond_socket, lsm, + ret = lttcomm_send_creds_unix_sock(sessiond_socket, lsm, sizeof(struct lttcomm_session_msg)); end: