projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: ring buffer: handle concurrent update in nested buffer wrap around check
[lttng-ust.git]
/
libringbuffer
/
shm.c
diff --git
a/libringbuffer/shm.c
b/libringbuffer/shm.c
index 90160ce1976c7c7c5a2853eca93229c9b3871460..995665ae16f4ee0b4836b3ffaf047bfb76ec3193 100644
(file)
--- a/
libringbuffer/shm.c
+++ b/
libringbuffer/shm.c
@@
-145,7
+145,7
@@
struct shm_object *_shm_object_table_alloc_shm(struct shm_object_table *table,
* Using mktemp filename with O_CREAT | O_EXCL open
* flags.
*/
- mktemp(tmp_name);
+
(void)
mktemp(tmp_name);
if (tmp_name[0] == '\0') {
PERROR("mktemp");
goto error_shm_open;
This page took
0.02568 seconds
and
5
git commands to generate.