- nhdr.n_namesz = bswap_32(nhdr.n_namesz);
- nhdr.n_descsz = bswap_32(nhdr.n_descsz);
- nhdr.n_type = bswap_32(nhdr.n_type);
+ nhdr.n_namesz = lttng_ust_bswap_32(nhdr.n_namesz);
+ nhdr.n_descsz = lttng_ust_bswap_32(nhdr.n_descsz);
+ nhdr.n_type = lttng_ust_bswap_32(nhdr.n_type);