* 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__);