]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/virtio/vhost.c
vhost: fix incorrect print type
[mirror_qemu.git] / hw / virtio / vhost.c
index 7f61018f2a3f8298040fd115baeaedbb4c4e09a2..286bb27c65398e45ec652dd225ba8f66f632d568 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.
          */