[haiku-commits] haiku: hrev51903 - src/add-ons/kernel/drivers/disk/virtual/virtio_block

  • From: jerome.duval@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 26 Apr 2018 10:36:55 -0400 (EDT)

hrev51903 adds 1 changeset to branch 'master'
old head: 61cd7e85d7ec458ad244d2074ddc5a437b81b742
new head: 988f9998161000ce74c0d0f2f702c6ddc9c8f409
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=988f99981610+%5E61cd7e85d7ec

----------------------------------------------------------------------------

988f99981610: virtio_block: fix build nach API change.

                                   [ Jérôme Duval <jerome.duval@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev51903
Commit:      988f9998161000ce74c0d0f2f702c6ddc9c8f409
URL:         https://git.haiku-os.org/haiku/commit/?id=988f99981610
Author:      Jérôme Duval <jerome.duval@xxxxxxxxx>
Date:        Thu Apr 26 14:36:04 2018 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
.../kernel/drivers/disk/virtual/virtio_block/virtio_block.cpp       | 2 +-

----------------------------------------------------------------------------

diff --git 
a/src/add-ons/kernel/drivers/disk/virtual/virtio_block/virtio_block.cpp 
b/src/add-ons/kernel/drivers/disk/virtual/virtio_block/virtio_block.cpp
index db98cb5055..cc092d0709 100644
--- a/src/add-ons/kernel/drivers/disk/virtual/virtio_block/virtio_block.cpp
+++ b/src/add-ons/kernel/drivers/disk/virtual/virtio_block/virtio_block.cpp
@@ -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


Other related posts:

  • » [haiku-commits] haiku: hrev51903 - src/add-ons/kernel/drivers/disk/virtual/virtio_block - jerome . duval