projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use header_sizeof() for header size instead of gcc packed attribute
[babeltrace.git]
/
formats
/
ctf
/
ctf.c
diff --git
a/formats/ctf/ctf.c
b/formats/ctf/ctf.c
index 7c354bf0a40710a9eed836226d6bb273f94b2148..ac064b809995ea72e06e84b85821292d6351e873 100644
(file)
--- a/
formats/ctf/ctf.c
+++ b/
formats/ctf/ctf.c
@@
-410,7
+410,7
@@
int ctf_open_trace_metadata_packet_read(struct ctf_trace *td, FILE *in,
char buf[4096];
int ret = 0;
- readlen = fread(&header, sizeof(header), 1, in);
+ readlen = fread(&header,
header_
sizeof(header), 1, in);
if (readlen < 1)
return -EINVAL;
This page took
0.024216 seconds
and
4
git commands to generate.