OSDN Git Service

Fix a compilation error on GNU Hurd platforms.
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 29 Jan 2014 17:44:40 +0000 (18:44 +0100)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Fri, 31 Jan 2014 14:44:59 +0000 (14:44 +0000)
This fixes a typo (unAMp instead of unMAp) introduced in the Windows/Cygwin
support patch.

Reviewed-by: Jon TURNEY <jon.turney@dronecode.org.uk>
src/x86_pci.c

index b938068..1075367 100644 (file)
@@ -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