virtio_block: fix build nach API change.

This commit is contained in:
Jérôme Duval 2018-04-26 16:36:04 +02:00
parent 61cd7e85d7
commit 988f999816

View File

@ -266,7 +266,7 @@ virtio_block_init_device(void* _info, void** _cookie)
(void **)&info->virtio_device);
sDeviceManager->put_node(parent);
info->virtio->negociate_features(info->virtio_device,
info->virtio->negotiate_features(info->virtio_device,
VIRTIO_BLK_F_BARRIER | VIRTIO_BLK_F_SIZE_MAX
| VIRTIO_BLK_F_SEG_MAX | VIRTIO_BLK_F_GEOMETRY
| VIRTIO_BLK_F_RO | VIRTIO_BLK_F_BLK_SIZE