aboutsummaryrefslogtreecommitdiff
path: root/tests/libqos/pci.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-05-08 10:54:33 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-06-02 16:28:59 +0200
commitad489e9346273e71facdf786b811600688ab2149 (patch)
tree03bd1ba653322800ecb80107e40379fe3637c64f /tests/libqos/pci.c
parent9bb931802e6ab5ab6947e3cb9cea934fc0724274 (diff)
qtest: fix qpci_config_writel
Found by Paolo. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tests/libqos/pci.c')
-rw-r--r--tests/libqos/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libqos/pci.c b/tests/libqos/pci.c
index 7e0907b514..c9a0b9134a 100644
--- a/tests/libqos/pci.c
+++ b/tests/libqos/pci.c
@@ -103,7 +103,7 @@ void qpci_config_writew(QPCIDevice *dev, uint8_t offset, uint16_t value)
void qpci_config_writel(QPCIDevice *dev, uint8_t offset, uint32_t value)
{
- dev->bus->config_writew(dev->bus, dev->devfn, offset, value);
+ dev->bus->config_writel(dev->bus, dev->devfn, offset, value);
}