summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2002-04-22 21:39:58 +0000
committermiod <miod@openbsd.org>2002-04-22 21:39:58 +0000
commit6657b4517f39dd9fea392631d46414da42336ae4 (patch)
tree2e1d1c5f5b7451f8b34becb5fbbc5634fc848825
parentregen (diff)
downloadwireguard-openbsd-6657b4517f39dd9fea392631d46414da42336ae4.tar.xz
wireguard-openbsd-6657b4517f39dd9fea392631d46414da42336ae4.zip
Fix a couple of typos.
-rw-r--r--sys/arch/macppc/pci/mpcpcibus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/macppc/pci/mpcpcibus.c b/sys/arch/macppc/pci/mpcpcibus.c
index 29fe192b517..6d7d4d0483a 100644
--- a/sys/arch/macppc/pci/mpcpcibus.c
+++ b/sys/arch/macppc/pci/mpcpcibus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpcpcibus.c,v 1.9 2002/03/14 03:15:56 millert Exp $ */
+/* $OpenBSD: mpcpcibus.c,v 1.10 2002/04/22 21:39:58 miod Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -696,8 +696,8 @@ mpcpcibrprint(aux, pnp)
}
/*
- * Get PCI physical address from given viritual address.
- * XXX Note that cross page boundarys are *not* guarantee to work!
+ * Get PCI physical address from given virtual address.
+ * XXX Note that cross page boundaries are *not* guaranteed to work!
*/
paddr_t
@@ -706,7 +706,7 @@ vtophys(pa)
{
vaddr_t va = (vaddr_t) pa;
- if(va < VM_MIN_KERNEL_ADDRESS)
+ if (va < VM_MIN_KERNEL_ADDRESS)
pa = va;
else
pmap_extract(vm_map_pmap(phys_map), va, &pa);