diff options
author | Gonglei <arei.gonglei@huawei.com> | 2014-11-13 10:39:32 +0800 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-12-10 11:18:52 +0300 |
commit | 2c80ab15e218a0438627c2a79d74d5a13b864e15 (patch) | |
tree | 738495a89ac4182720ead81d6093577dbe87a143 /hw/virtio | |
parent | 8b310fc4f9eb2570bfb92a725bd094ce203800da (diff) | |
download | hqemu-2c80ab15e218a0438627c2a79d74d5a13b864e15.zip hqemu-2c80ab15e218a0438627c2a79d74d5a13b864e15.tar.gz |
virtio-bus: avoid breaking build when open DEBUG switch
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/virtio')
-rw-r--r-- | hw/virtio/virtio-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/virtio-bus.c b/hw/virtio/virtio-bus.c index eb77019..dfd2d8c 100644 --- a/hw/virtio/virtio-bus.c +++ b/hw/virtio/virtio-bus.c @@ -58,7 +58,7 @@ void virtio_bus_reset(VirtioBusState *bus) { VirtIODevice *vdev = virtio_bus_get_device(bus); - DPRINTF("%s: reset device.\n", qbus->name); + DPRINTF("%s: reset device.\n", BUS(bus)->name); if (vdev != NULL) { virtio_reset(vdev); } |