Fix read of text-based metadata traces
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 25 Jul 2011 20:04:53 +0000 (16:04 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 25 Jul 2011 20:04:53 +0000 (16:04 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/ctf.c

index 013e35fb3d5df8489dee0a7a7464d70a320878e4..4043055824b5e24fe253a7835ce9cc95fd989ab1 100644 (file)
@@ -607,6 +607,7 @@ int ctf_open_trace_metadata_read(struct ctf_trace *td)
                goto end_stream;
        }
 
+       td->byte_order = BYTE_ORDER;
        if (packet_metadata(td, fp)) {
                ret = ctf_open_trace_metadata_stream_read(td, &fp, &buf);
                if (ret)
This page took 0.02522 seconds and 4 git commands to generate.