Use the existing PRI constants to select the right format rather than
assume signed_cell is always %u. Fixes building for riscv64.
+2021-04-24 Mike Frysinger <vapier@gentoo.org>
+
+ * dv-cfi.c (attach_cfi_regs): Change %u to PRIiTC.
+
2021-04-24 Mike Frysinger <vapier@gentoo.org>
* sim-options.c (ARG_HASH_SIZE): Increase to 256.
if (cfi_cmdsets[i]->id == ival)
cfi->cmdset = cfi_cmdsets[i];
if (cfi->cmdset == NULL)
- hw_abort (me, "cmdset %u not supported", ival);
+ hw_abort (me, "cmdset %" PRIiTC " not supported", ival);
if (ret == 2)
{