summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2012-03-14 19:57:25 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2012-03-14 19:57:25 +0000
commita5aacd17850ee96f1691b2eacc997a39beb87b21 (patch)
treef1066f5edff7e767c2812c5ada1946e3540a4b9c /lib
parentfe6104f7047e8e092b5132152f824a2452250cd8 (diff)
Fix openbsd_pci.c:pci_device_vgaarb_set_target();
A return (0) got lost, add it back. Obvious; ok kettenis@
Diffstat (limited to 'lib')
-rw-r--r--lib/libpciaccess/src/openbsd_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpciaccess/src/openbsd_pci.c b/lib/libpciaccess/src/openbsd_pci.c
index b21df2a0f..f4c26542c 100644
--- a/lib/libpciaccess/src/openbsd_pci.c
+++ b/lib/libpciaccess/src/openbsd_pci.c
@@ -734,6 +734,7 @@ int
pci_device_vgaarb_set_target(struct pci_device *dev)
{
pci_sys->vga_target = dev;
+ return (0);
}
int