summaryrefslogtreecommitdiff
path: root/src/netbsd_pci.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-16 22:11:38 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-16 22:11:38 -0700
commite1a0240a3d6840b497845680c2bf6753415ba20f (patch)
tree13c44419652a0351ace77ea3dd1873abb0cb708d /src/netbsd_pci.c
parent7bfc4f806d51b85e7ae069dd6deaf0b48326ed22 (diff)
downloadlibpciaccess-e1a0240a3d6840b497845680c2bf6753415ba20f.tar.gz
libpciaccess-e1a0240a3d6840b497845680c2bf6753415ba20f.tar.bz2
libpciaccess-e1a0240a3d6840b497845680c2bf6753415ba20f.zip
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/netbsd_pci.c')
-rw-r--r--src/netbsd_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netbsd_pci.c b/src/netbsd_pci.c
index f33b3eb..d351e8f 100644
--- a/src/netbsd_pci.c
+++ b/src/netbsd_pci.c
@@ -210,7 +210,7 @@ pci_device_netbsd_write(struct pci_device *dev, const void *data,
io.cfgreg.reg = offset;
memcpy(&io.cfgreg.val, data, 4);
- if (ioctl(pcifd, PCI_IOC_BDF_CFGWRITE, &io) == -1)
+ if (ioctl(pcifd, PCI_IOC_BDF_CFGWRITE, &io) == -1)
return errno;
offset += 4;