BT_CTF_BYTE_ORDER_NONE -> BT_CTF_BYTE_ORDER_UNSPECIFIED to match base
[babeltrace.git] / plugins / libctfcopytrace / ctfcopytrace.c
index 28aa5e5c6d07d8eb42711db15aed896183e18a98..894ce2f39f4b7016a4d7f1ee8763f6418bb41240 100644 (file)
@@ -885,7 +885,7 @@ enum bt_component_status ctf_copy_trace(FILE *err, struct bt_ctf_trace *trace,
         * the CTF writer object chooses, which is the machine's native
         * byte order.
         */
-       if (order != BT_CTF_BYTE_ORDER_NONE) {
+       if (order != BT_CTF_BYTE_ORDER_UNSPECIFIED) {
                ret = bt_ctf_trace_set_native_byte_order(writer_trace, order);
                if (ret) {
                        fprintf(err, "[error] %s in %s:%d\n", __func__, __FILE__, __LINE__);
This page took 0.025091 seconds and 4 git commands to generate.