X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2Fust-comm.c;fp=ltt-sessiond%2Fust-comm.c;h=4a54bf78429e0172a1c7ddfbaa385c0aa98f1a74;hp=724260511e621660669e1fc3de28d1762279bc9a;hb=f158a754906b7c657d64db23c506c6648773bc92;hpb=00a17c9765c3ecf1fb8e4e6fefd5547c60abcd72 diff --git a/ltt-sessiond/ust-comm.c b/ltt-sessiond/ust-comm.c index 724260511..4a54bf784 100644 --- a/ltt-sessiond/ust-comm.c +++ b/ltt-sessiond/ust-comm.c @@ -19,6 +19,7 @@ #include #include #include +#include #include "ust-comm.h" /* @@ -41,7 +42,7 @@ struct lttcomm_ust_reply *ustcomm_send_command(int sock, DBG2("Sending UST command %d to sock %d", msg->cmd, sock); /* Send UST msg */ - len = lttcomm_send_unix_sock(sock, msg, sizeof(*msg)); + len = ustcomm_send_unix_sock(sock, msg, sizeof(*msg)); if (len < 0) { goto error; } @@ -55,7 +56,7 @@ struct lttcomm_ust_reply *ustcomm_send_command(int sock, DBG2("Receiving UST reply on sock %d", sock); /* Get UST reply */ - len = lttcomm_recv_unix_sock(sock, reply, sizeof(*reply)); + len = ustcomm_recv_unix_sock(sock, reply, sizeof(*reply)); if (len < 0 || len < sizeof(*reply)) { goto error; }