On 22.06.2018 15:40, Philippe Mathieu-Daudé wrote: > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > --- > hw/arm/stellaris.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c > index d06e366402..42baa768b2 100644 > --- a/hw/arm/stellaris.c > +++ b/hw/arm/stellaris.c > @@ -294,7 +294,7 @@ static void gptm_write(void *opaque, hwaddr offset, > break; > default: > qemu_log_mask(LOG_GUEST_ERROR, > - "GPTM: read at bad offset 0x%x\n", (int)offset); > + "GPTM: write at bad offset 0x%x\n", (int)offset);
While you're at it, remove the cast and use HWADDR_PRIx ? Thomas
