summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThordur Bjornsson <thib@secnorth.net>2012-03-14 14:45:52 +0100
committerMatthieu Herrb <matthieu.herrb@laas.fr>2012-03-14 21:51:33 +0100
commit725f5669bc03ed9a766e2c51c465e082172e6dae (patch)
tree1d7b1323346c707ac9a2ad9e4e804108b79f8057 /src
parentb16336c0b389ace07f7418f5a021bfbc68fec2b6 (diff)
downloadlibpciaccess-725f5669bc03ed9a766e2c51c465e082172e6dae.tar.gz
libpciaccess-725f5669bc03ed9a766e2c51c465e082172e6dae.tar.bz2
libpciaccess-725f5669bc03ed9a766e2c51c465e082172e6dae.zip
Fix openbsd_pci.c:pci_device_vgaarb_set_target();
A return (0) got lost, add it back. Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Mark Kettenis <mark.kettenis@xs4all.nl>
Diffstat (limited to 'src')
-rw-r--r--src/openbsd_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openbsd_pci.c b/src/openbsd_pci.c
index 74b3636..73c68f4 100644
--- a/src/openbsd_pci.c
+++ b/src/openbsd_pci.c
@@ -733,6 +733,7 @@ int
pci_device_vgaarb_set_target(struct pci_device *dev)
{
pci_sys->vga_target = dev;
+ return (0);
}
int