]> git.proxmox.com Git - mirror_qemu.git/commitdiff
vhost: fix incorrect print type
authorJie Wang <wangjie88@huawei.com>
Tue, 30 Apr 2019 06:29:33 +0000 (14:29 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 29 May 2019 22:00:57 +0000 (18:00 -0400)
fix incorrect print type in vhost_virtqueue_stop

Signed-off-by: Jie Wang <wangjie88@huawei.com>
Message-Id: <1556605773-42019-1-git-send-email-wangjie88@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
hw/virtio/vhost.c

index 2303a8c206fec84c07cdf61650ae13065a655d70..60747a6f9362e092fd71f6e5ccafce7690175645 100644 (file)
@@ -1081,7 +1081,7 @@ static void vhost_virtqueue_stop(struct vhost_dev *dev,
 
     r = dev->vhost_ops->vhost_get_vring_base(dev, &state);
     if (r < 0) {
-        VHOST_OPS_DEBUG("vhost VQ %d ring restore failed: %d", idx, r);
+        VHOST_OPS_DEBUG("vhost VQ %u ring restore failed: %d", idx, r);
         /* Connection to the backend is broken, so let's sync internal
          * last avail idx to the device used idx.
          */