Fix read of text-based metadata traces
[babeltrace.git] / 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.022696 seconds and 4 git commands to generate.