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 6cdc759965ccacd7ef515ba3f4cc5fe87386d9e0..f50611b5b0eac52ad8ac92502826038eec10afeb 100644
(file)
--- a/
src/common/unix.c
+++ b/
src/common/unix.c
@@
-253,7
+253,7
@@
retry:
goto end;
}
}
goto end;
}
}
- ret = len;
+
end:
return ret;
}
end:
return ret;
}
@@
-352,7
+352,6
@@
retry:
goto end;
}
}
goto end;
}
}
- ret = len;
end:
return ret;
}
end:
return ret;
}
@@
-772,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];
@@
-788,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.0232 seconds
and
4
git commands to generate.