From 24f503c8a5c66f3506e0a7442eee65c1073211fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gonz=C3=A1lez?= Date: Tue, 23 Apr 2019 12:56:51 +0200 Subject: [PATCH] B #3230 Fix typo --- src/host/HostShare.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/host/HostShare.cc b/src/host/HostShare.cc index 927808e3ab7..59af5a9b4aa 100644 --- a/src/host/HostShare.cc +++ b/src/host/HostShare.cc @@ -121,7 +121,7 @@ void HostSharePCI::add(vector &devs, int vmid) map::const_iterator jt; unsigned int vendor_id, device_id, class_id; - string addres; + string address; int vendor_rc, device_rc, class_rc, addr_rc; for ( it=devs.begin(); it!= devs.end(); it++) @@ -130,7 +130,7 @@ void HostSharePCI::add(vector &devs, int vmid) device_rc = get_pci_value("DEVICE", *it, device_id); class_rc = get_pci_value("CLASS" , *it, class_id); - addr_rc = (*it)->vector_value("ADDRESS", addres); + addr_rc = (*it)->vector_value("ADDRESS", address); for (jt=pci_devices.begin(); jt!=pci_devices.end(); jt++) { @@ -153,7 +153,7 @@ void HostSharePCI::add(vector &devs, int vmid) if (addr_rc != -1) { - (*it)->replace("PREV_ADDRESS", addres); + (*it)->replace("PREV_ADDRESS", address); } break;