diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index 1b4a5fe3366..4e7b919a3c5 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,3 +1,7 @@ +2021-05-23 Mike Frysinger + + * sim-if.c (sim_open): Delete "x" after PRI macros. + 2021-05-23 Mike Frysinger * sim-if.c: Include unistd.h. diff --git a/sim/cris/sim-if.c b/sim/cris/sim-if.c index cea499d1daa..6613a93ecc5 100644 --- a/sim/cris/sim-if.c +++ b/sim/cris/sim-if.c @@ -879,7 +879,7 @@ sim_open (SIM_OPEN_KIND kind, host_callback *callback, struct bfd *abfd, /* Allocate core managed memory if none specified by user. */ if (sim_core_read_buffer (sd, NULL, read_map, &c, startmem, 1) == 0) - sim_do_commandf (sd, "memory region 0x%" PRIx32 "x,0x%" PRIu32 "x", + sim_do_commandf (sd, "memory region 0x%" PRIx32 ",0x%" PRIu32, startmem, endmem - startmem); /* Allocate simulator I/O managed memory if none specified by user. */