From ac5c6ca0870bc57be984544d5c7327004a783a29 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 20 Jul 2011 16:11:37 -0400 Subject: [PATCH] Fix cross-endianness handling Signed-off-by: Mathieu Desnoyers --- formats/ctf/ctf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formats/ctf/ctf.c b/formats/ctf/ctf.c index 098b7eb1..013e35fb 100644 --- a/formats/ctf/ctf.c +++ b/formats/ctf/ctf.c @@ -639,7 +639,7 @@ int ctf_open_trace_metadata_read(struct ctf_trace *td) goto end; } ret = ctf_visitor_construct_metadata(stdout, 0, &scanner->ast->root, - td, BYTE_ORDER); + td, td->byte_order); if (ret) { fprintf(stdout, "[error] Error in CTF metadata constructor %d\n", ret); goto end; -- 2.34.1