summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common_interface.c b/src/common_interface.c
index 16a0305..5b07d3c 100644
--- a/src/common_interface.c
+++ b/src/common_interface.c
@@ -429,7 +429,7 @@ pci_device_cfg_write_u8(struct pci_device *dev, uint8_t data,
pciaddr_t offset)
{
pciaddr_t bytes;
- int err = pci_device_cfg_write( dev, data, offset, 1, & bytes );
+ int err = pci_device_cfg_write(dev, & data, offset, 1, & bytes);
if ( (err == 0) && (bytes != 1) ) {
err = ENOSPC;