summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-04-17 21:06:32 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-04-17 21:21:49 +0200
commitd081cedd688d75863a32e567f68f972ce570e0d9 (patch)
tree4c7d6a7fff81909ef145d2dfd1c6ac590fb3928b
parenteaf27fab2185290cbfa586af959b12e82cdde1f4 (diff)
downloadfocaccia-qemu-d081cedd688d75863a32e567f68f972ce570e0d9.tar.gz
focaccia-qemu-d081cedd688d75863a32e567f68f972ce570e0d9.zip
hpet: Report warnings with warn_report(), not error_printf()
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190417190641.26814-7-armbru@redhat.com>
-rw-r--r--hw/timer/hpet.c2
1 files changed, 1 insertions, 1 deletions
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 */