X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fsessiond-comm%2Funix.h;fp=src%2Fcommon%2Fsessiond-comm%2Funix.h;h=24786b8fecbf2c2c805f4cb77d8cc7029ddad6f8;hp=7ea05032fb39fa511eb1f761e3e212be0fc7666d;hb=c2d6932774987366baf42a93461cd73c38f1113a;hpb=f5501dadeacee8f75aa9e5dca65adea504e976f7 diff --git a/src/common/sessiond-comm/unix.h b/src/common/sessiond-comm/unix.h index 7ea05032f..24786b8fe 100644 --- a/src/common/sessiond-comm/unix.h +++ b/src/common/sessiond-comm/unix.h @@ -49,7 +49,7 @@ ssize_t lttcomm_recv_fds_unix_sock(int sock, int *fds, size_t nb_fd); LTTNG_HIDDEN ssize_t lttcomm_recv_unix_sock(int sock, void *buf, size_t len); LTTNG_HIDDEN -ssize_t lttcomm_send_unix_sock(int sock, void *buf, size_t len); +ssize_t lttcomm_send_unix_sock(int sock, const void *buf, size_t len); LTTNG_HIDDEN ssize_t lttcomm_send_creds_unix_sock(int sock, void *buf, size_t len);