X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Funix.h;h=a975543b3cecc4134bff2f6f369aefc496e322e7;hp=0cce81b7fb1536c94ffd7dc95f7c08fcc4702a03;hb=e368fb4396b9bdb22de16f0c93512c9f6d7ab0b4;hpb=ddab38d1659326ae7933319adefc3dff243da352 diff --git a/src/common/unix.h b/src/common/unix.h index 0cce81b7f..a975543b3 100644 --- a/src/common/unix.h +++ b/src/common/unix.h @@ -49,7 +49,7 @@ LTTNG_HIDDEN ssize_t lttcomm_send_unix_sock_non_block(int sock, const void *buf, size_t len); LTTNG_HIDDEN -ssize_t lttcomm_send_creds_unix_sock(int sock, void *buf, size_t len); +ssize_t lttcomm_send_creds_unix_sock(int sock, const void *buf, size_t len); LTTNG_HIDDEN ssize_t lttcomm_recv_creds_unix_sock(int sock, void *buf, size_t len, lttng_sock_cred *creds);