X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttngctl%2Flttngctl.c;h=c65760155347d4ca7e576ea7b24132b580d47e7f;hb=18cef8030188c29b1eb5a251e1c0de58b24e40b1;hp=c5e8cf8f8cffae86ecce900354f13a0752b4e382;hpb=330be774319277f86ecf9445603bf97dc3249ca3;p=lttng-tools.git 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: