summaryrefslogtreecommitdiff
path: root/src/linux_sysfs.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2008-10-15 15:35:25 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2008-10-15 15:35:54 -0700
commitd43d21c8cb0f917b65228852a03a7d501636f227 (patch)
tree0b27d3f0ccaa281e28e5e7dddf6d075a1bc7176e /src/linux_sysfs.c
parent4c1c607c602e5e8d9277b9c01edfa7a8d10333cd (diff)
downloadlibpciaccess-d43d21c8cb0f917b65228852a03a7d501636f227.tar.gz
libpciaccess-d43d21c8cb0f917b65228852a03a7d501636f227.tar.bz2
libpciaccess-d43d21c8cb0f917b65228852a03a7d501636f227.zip
Fix various typos (mostly in comments)
Diffstat (limited to 'src/linux_sysfs.c')
-rw-r--r--src/linux_sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c
index ca4d3ef..8c3cf67 100644
--- a/src/linux_sysfs.c
+++ b/src/linux_sysfs.c
@@ -26,7 +26,7 @@
* \file linux_sysfs.c
* Access PCI subsystem using Linux's sysfs interface. This interface is
* available starting somewhere in the late 2.5.x kernel phase, and is the
- * prefered method on all 2.6.x kernels.
+ * preferred method on all 2.6.x kernels.
*
* \author Ian Romanick <idr@us.ibm.com>
*/
@@ -73,7 +73,7 @@ static int pci_device_linux_sysfs_read( struct pci_device * dev, void * data,
static int pci_device_linux_sysfs_write( struct pci_device * dev,
const void * data, pciaddr_t offset, pciaddr_t size,
- pciaddr_t * bytes_wrtten );
+ pciaddr_t * bytes_written );
static const struct pci_system_methods linux_sysfs_methods = {
.destroy = NULL,