projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: get_wait_shm() ust mutex deadlock
[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 be64acd01d03e6b730cec0403a4edda21fbd90ac..596fd7dfbee9f566e76a9ed11adb00d744caa7e8 100644
(file)
--- a/
liblttng-ust/lttng-ust-comm.c
+++ b/
liblttng-ust/lttng-ust-comm.c
@@
-616,9
+616,9
@@
int get_wait_shm(struct sock_info *sock_info, size_t mmap_size)
ret = ftruncate(wait_shm_fd, mmap_size);
if (ret) {
PERROR("ftruncate");
- exit(EXIT_FAILURE);
+
_
exit(EXIT_FAILURE);
}
- exit(EXIT_SUCCESS);
+
_
exit(EXIT_SUCCESS);
}
/*
* For local shm, we need to have rw access to accept
This page took
0.02364 seconds
and
5
git commands to generate.