diff --git a/external/cddl/osnet/dist/tools/ctf/cvt/ctf.c b/external/cddl/osnet/dist/tools/ctf/cvt/ctf.c index d5365870fc2d..37d5d140ed6c 100644 --- a/external/cddl/osnet/dist/tools/ctf/cvt/ctf.c +++ b/external/cddl/osnet/dist/tools/ctf/cvt/ctf.c @@ -173,12 +173,12 @@ write_objects(iidesc_t *idp, ctf_buf_t *b) { ushort_t id = (idp ? idp->ii_dtype->t_id : 0); - ctf_buf_write(b, &id, sizeof (id)); - if (target_requires_swap) { SWAP_16(id); } + ctf_buf_write(b, &id, sizeof (id)); + debug(3, "Wrote object %s (%d)\n", (idp ? idp->ii_name : "(null)"), id); }