X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Funix.c;h=41525b69170a2c10bfcbdf2401f22936e576d058;hp=2f4df68e627bd37a0f6fc84fdfb868cc02de6bc1;hb=ac2f30af91cd6d9c382698038b525b54845dbe11;hpb=34e09c4955f3fa34f977de433eac75bca8836066 diff --git a/src/common/unix.c b/src/common/unix.c index 2f4df68e6..41525b691 100644 --- a/src/common/unix.c +++ b/src/common/unix.c @@ -374,7 +374,7 @@ int lttcomm_close_unix_sock(int sock) * Returns the size of data sent, or negative error value. */ LTTNG_HIDDEN -ssize_t lttcomm_send_fds_unix_sock(int sock, int *fds, size_t nb_fd) +ssize_t lttcomm_send_fds_unix_sock(int sock, const int *fds, size_t nb_fd) { struct msghdr msg; struct cmsghdr *cmptr;