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
/
types
/
float.c
diff --git
a/formats/ctf/types/float.c
b/formats/ctf/types/float.c
index c494ee8202dec2ef9f9ac7d0f23b82c2fc377cf2..ebd7b7ae166c91a3be761b2ea9da6198e3cf9277 100644
(file)
--- a/
formats/ctf/types/float.c
+++ b/
formats/ctf/types/float.c
@@
-148,7
+148,7
@@
int ctf_float_read(struct stream_pos *ppos, struct definition *definition)
struct ctf_stream_pos destp;
int ret;
- ctf_init_pos(&destp, -1, O_
WRONLY
);
+ ctf_init_pos(&destp, -1, O_
RDWR
);
destp.base = (char *) u.bits;
ctf_align_pos(pos, float_declaration->p.alignment);
This page took
0.023167 seconds
and
4
git commands to generate.