projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use O_RDWR for open write mode (for mmap)
[babeltrace.git]
/
formats
/
ctf-text
/
ctf-text.c
diff --git
a/formats/ctf-text/ctf-text.c
b/formats/ctf-text/ctf-text.c
index 17b7bc232f290031e350ad6b8683b907f7d4c75c..cc882f60b02d64ebbe777701c50c69755bf8007b 100644
(file)
--- a/
formats/ctf-text/ctf-text.c
+++ b/
formats/ctf-text/ctf-text.c
@@
-60,7
+60,7
@@
struct trace_descriptor *ctf_text_open_trace(const char *path, int flags)
pos = g_new0(struct ctf_text_stream_pos, 1);
switch (flags & O_ACCMODE) {
- case O_
WRONLY
:
+ case O_
RDWR
:
if (!path)
fp = stdout;
else
This page took
0.022373 seconds
and
4
git commands to generate.