projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: ustcomm_close_unix_sock should close, not shutdown
[lttng-ust.git]
/
liblttng-ust
/
lttng-ust-comm.c
diff --git
a/liblttng-ust/lttng-ust-comm.c
b/liblttng-ust/lttng-ust-comm.c
index e19fa949cbf69fd8cf70006898e8ddaa1796ca97..e3afe6af562cb8a22207ca90210b3450b8d2453d 100644
(file)
--- a/
liblttng-ust/lttng-ust-comm.c
+++ b/
liblttng-ust/lttng-ust-comm.c
@@
-396,7
+396,7
@@
void cleanup_sock_info(struct sock_info *sock_info, int exiting)
int ret;
if (sock_info->socket != -1) {
int ret;
if (sock_info->socket != -1) {
- ret =
close
(sock_info->socket);
+ ret =
ustcomm_close_unix_sock
(sock_info->socket);
if (ret) {
ERR("Error closing apps socket");
}
if (ret) {
ERR("Error closing apps socket");
}
@@
-676,7
+676,7
@@
restart:
}
if (sock_info->socket != -1) {
}
if (sock_info->socket != -1) {
- ret =
close
(sock_info->socket);
+ ret =
ustcomm_close_unix_sock
(sock_info->socket);
if (ret) {
ERR("Error closing %s apps socket", sock_info->name);
}
if (ret) {
ERR("Error closing %s apps socket", sock_info->name);
}
This page took
0.0231 seconds
and
4
git commands to generate.