X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Fctf.c;h=74fcb5bc60fe316cf45e6926ae047a15aedd0ddf;hb=2b8dbf9af7c51db61a476550c44bb22b0b50a43d;hp=5436c2a72b9e6b65812b0105f5faf28131822ac9;hpb=03d0d7ecc93e02ef90cffb052d20cc9216010fb6;p=babeltrace.git diff --git a/formats/ctf/ctf.c b/formats/ctf/ctf.c index 5436c2a7..74fcb5bc 100644 --- a/formats/ctf/ctf.c +++ b/formats/ctf/ctf.c @@ -1853,10 +1853,10 @@ int import_stream_packet_index(struct ctf_trace *td, goto error; } if (be32toh(index_hdr.index_major) != CTF_INDEX_MAJOR) { - fprintf(stderr, "[error] Incompatible index file %" PRIu64 - ".%" PRIu64 ", supported %d.%d\n", - be64toh(index_hdr.index_major), - be64toh(index_hdr.index_minor), CTF_INDEX_MAJOR, + fprintf(stderr, "[error] Incompatible index file %" PRIu32 + ".%" PRIu32 ", supported %d.%d\n", + be32toh(index_hdr.index_major), + be32toh(index_hdr.index_minor), CTF_INDEX_MAJOR, CTF_INDEX_MINOR); ret = -1; goto error;