From: Markus Armbruster Date: Wed, 17 Apr 2019 19:06:32 +0000 (+0200) Subject: hpet: Report warnings with warn_report(), not error_printf() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d081cedd688d75863a32e567f68f972ce570e0d9;p=qemu.git hpet: Report warnings with warn_report(), not error_printf() Cc: "Michael S. Tsirkin" Cc: Paolo Bonzini Signed-off-by: Markus Armbruster Message-Id: <20190417190641.26814-7-armbru@redhat.com> --- diff --git a/hw/timer/hpet.c b/hw/timer/hpet.c index d97436bc7b..41024f39fb 100644 --- a/hw/timer/hpet.c +++ b/hw/timer/hpet.c @@ -744,7 +744,7 @@ static void hpet_realize(DeviceState *dev, Error **errp) HPETTimer *timer; if (!s->intcap) { - error_printf("Hpet's intcap not initialized.\n"); + warn_report("Hpet's intcap not initialized"); } if (hpet_cfg.count == UINT8_MAX) { /* first instance */