Message ID | 20180621180224.8312-10-f4bug@amsat.org |
---|---|
State | New |
Headers | show |
Series | hw/arm: use qemu_log_mask instead of fprintf | expand |
On 21.06.2018 20:02, Philippe Mathieu-Daudé wrote: > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > --- > 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 a8f1f6a912..d06e366402 100644 > --- a/hw/arm/stellaris.c > +++ b/hw/arm/stellaris.c > @@ -560,7 +560,7 @@ static void ssys_write(void *opaque, hwaddr offset, > case 0x040: /* SRCR0 */ > case 0x044: /* SRCR1 */ > case 0x048: /* SRCR2 */ > - fprintf(stderr, "Peripheral reset not implemented\n"); > + qemu_log_mask(LOG_UNIMP, "Peripheral reset not implemented\n"); > break; > case 0x054: /* IMC */ > s->int_mask = value & 0x7f; > Reviewed-by: Thomas Huth <thuth@redhat.com>
diff --git a/hw/arm/stellaris.c b/hw/arm/stellaris.c index a8f1f6a912..d06e366402 100644 --- a/hw/arm/stellaris.c +++ b/hw/arm/stellaris.c @@ -560,7 +560,7 @@ static void ssys_write(void *opaque, hwaddr offset, case 0x040: /* SRCR0 */ case 0x044: /* SRCR1 */ case 0x048: /* SRCR2 */ - fprintf(stderr, "Peripheral reset not implemented\n"); + qemu_log_mask(LOG_UNIMP, "Peripheral reset not implemented\n"); break; case 0x054: /* IMC */ s->int_mask = value & 0x7f;
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> --- hw/arm/stellaris.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)