projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add fd_handle interface
[lttng-tools.git]
/
src
/
common
/
unix.c
diff --git
a/src/common/unix.c
b/src/common/unix.c
index 0409750c3ff7ada10465c1d1ee92d878afb3309a..f50611b5b0eac52ad8ac92502826038eec10afeb 100644
(file)
--- a/
src/common/unix.c
+++ b/
src/common/unix.c
@@
-771,7
+771,7
@@
end:
* Returns the size of data sent, or negative error value.
*/
LTTNG_HIDDEN
* Returns the size of data sent, or negative error value.
*/
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)
{
struct msghdr msg;
struct iovec iov[1];
{
struct msghdr msg;
struct iovec iov[1];
@@
-787,7
+787,7
@@
ssize_t lttcomm_send_creds_unix_sock(int sock, void *buf, size_t len)
memset(&msg, 0, sizeof(msg));
memset(&msg, 0, sizeof(msg));
- iov[0].iov_base = buf;
+ iov[0].iov_base =
(void *)
buf;
iov[0].iov_len = len;
msg.msg_iov = iov;
msg.msg_iovlen = 1;
iov[0].iov_len = len;
msg.msg_iov = iov;
msg.msg_iovlen = 1;
This page took
0.024516 seconds
and
4
git commands to generate.