summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2014-01-29 18:44:40 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2014-01-31 14:44:59 +0000
commitb29e9be9aff5c5a9ec5e2bcfc48044081b82742b (patch)
tree6f42cad7c2f8e789c8ac676cc532851818c291a7
parent6bfccc7ec4f0705595385f6684b6849663f781b4 (diff)
Fix a compilation error on GNU Hurd platforms.
This fixes a typo (unAMp instead of unMAp) introduced in the Windows/Cygwin support patch. Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r--src/x86_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x86_pci.c b/src/x86_pci.c
index b938068..1075367 100644
--- a/src/x86_pci.c
+++ b/src/x86_pci.c
@@ -658,7 +658,7 @@ static int
pci_device_x86_unmap_range(struct pci_device *dev,
struct pci_device_mapping *map)
{
- return pci_device_generic_unamp_range(dev, map);
+ return pci_device_generic_unmap_range(dev, map);
}
#endif