projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: bad file descriptors on close after rotation error
[lttng-tools.git]
/
src
/
common
/
utils.c
diff --git
a/src/common/utils.c
b/src/common/utils.c
index 3892cb4ada8b613b2396866e033bf16311abf7a4..46da97e56019aa881d9092e7abb326f4be592bcb 100644
(file)
--- a/
src/common/utils.c
+++ b/
src/common/utils.c
@@
-793,6
+793,7
@@
int utils_rotate_stream_file(char *path_name, char *file_name, uint64_t size,
PERROR("Closing tracefile");
goto error;
}
+ *stream_fd = -1;
if (count > 0) {
/*
This page took
0.023695 seconds
and
4
git commands to generate.