diff options
-rw-r--r-- | sim/common/ChangeLog | 4 | ||||
-rw-r--r-- | sim/common/dv-cfi.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index ed4d9f7..516e214 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,9 @@ 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. (sim_parse_args): Call SIM_ASSERT. diff --git a/sim/common/dv-cfi.c b/sim/common/dv-cfi.c index afc020a..b865227 100644 --- a/sim/common/dv-cfi.c +++ b/sim/common/dv-cfi.c @@ -610,7 +610,7 @@ attach_cfi_regs (struct hw *me, struct cfi *cfi) 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) { |