OSDN Git Service
(root)
/
android-x86
/
external-libpciaccess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
042735d
)
FreeBSD: Fix unmap_range to return an error value.
author
Eric Anholt
<eric@anholt.net>
Tue, 9 Oct 2007 19:13:49 +0000
(12:13 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 9 Oct 2007 19:13:49 +0000
(12:13 -0700)
src/freebsd_pci.c
patch
|
blob
|
history
diff --git
a/src/freebsd_pci.c
b/src/freebsd_pci.c
index
be934a8
..
b703936
100644
(file)
--- a/
src/freebsd_pci.c
+++ b/
src/freebsd_pci.c
@@
-120,7
+120,7
@@
pci_device_freebsd_map_range(struct pci_device *dev,
return err;
}
-static
void
+static
int
pci_device_freebsd_unmap_range( struct pci_device *dev,
struct pci_device_mapping *map )
{
@@
-144,7
+144,7
@@
pci_device_freebsd_unmap_range( struct pci_device *dev,
close(fd);
}
- pci_device_generic_unmap_range(dev, map);
+
return
pci_device_generic_unmap_range(dev, map);
}
static int