diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2008-11-25 12:45:37 +0100 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2008-11-25 12:45:37 +0100 |
commit | 7ac4cc8666fc217118ea3070e9c82ae7d2d79380 (patch) | |
tree | 8b91e3a3980f9b9280b87868509491e33333adce | |
parent | e36e6594075d6abe1846bde9239682b64436aee7 (diff) | |
parent | b167c081b307ffede0bf69d913dc81260484fd55 (diff) |
Merge branch 'obsd' of ssh://xenocara.org/git/xenocara/lib/libpciaccess into obsd
-rw-r--r-- | src/openbsd_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openbsd_pci.c b/src/openbsd_pci.c index 3560741..e4f2592 100644 --- a/src/openbsd_pci.c +++ b/src/openbsd_pci.c @@ -220,7 +220,7 @@ pci_device_openbsd_write(struct pci_device *dev, const void *data, { struct pci_io io; - if ((offset % 4) == 0 || (size % 4) == 0) + if ((offset % 4) != 0 || (size % 4) != 0) return EINVAL; io.pi_sel.pc_bus = dev->bus; |