summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2006-02-06 17:03:17 +0000
committerjmc <jmc@openbsd.org>2006-02-06 17:03:17 +0000
commit596f05b76d6bb97d20f0f6f05e9d4fe64e13472d (patch)
treea0c2ef96da87623d8a3b1fef3e014f6d201531a9
parenttypos from alexey dobriyan; (diff)
downloadwireguard-openbsd-596f05b76d6bb97d20f0f6f05e9d4fe64e13472d.tar.xz
wireguard-openbsd-596f05b76d6bb97d20f0f6f05e9d4fe64e13472d.zip
typos from alexey dobriyan;
-rw-r--r--lib/libc/arch/arm/gen/flt_rounds.c4
-rw-r--r--lib/libpthread/arch/powerpc/_atomic_lock.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/arch/arm/gen/flt_rounds.c b/lib/libc/arch/arm/gen/flt_rounds.c
index 89cb30adfa1..7effc441e2a 100644
--- a/lib/libc/arch/arm/gen/flt_rounds.c
+++ b/lib/libc/arch/arm/gen/flt_rounds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: flt_rounds.c,v 1.2 2004/02/01 05:40:52 drahn Exp $ */
+/* $OpenBSD: flt_rounds.c,v 1.3 2006/02/06 17:03:17 jmc Exp $ */
/* $NetBSD: flt_rounds.c,v 1.1 2000/12/29 20:13:48 bjh21 Exp $ */
/*
@@ -57,7 +57,7 @@ static const int map[] = {
* HOWEVER:
* The ARM FPA codes the rounding mode into the actual FP instructions
* so there is no such thing as a global rounding mode.
- * The default is round to nearest if rounding is not explictly specified.
+ * The default is round to nearest if rounding is not explicitly specified.
* FP instructions generated by GCC will not explicitly specify a rounding
* mode.
*
diff --git a/lib/libpthread/arch/powerpc/_atomic_lock.c b/lib/libpthread/arch/powerpc/_atomic_lock.c
index 200d91a626e..604deb60bb4 100644
--- a/lib/libpthread/arch/powerpc/_atomic_lock.c
+++ b/lib/libpthread/arch/powerpc/_atomic_lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: _atomic_lock.c,v 1.6 2005/12/14 21:29:48 drahn Exp $ */
+/* $OpenBSD: _atomic_lock.c,v 1.7 2006/02/06 17:03:17 jmc Exp $ */
/*
* Atomic lock for powerpc
*/
@@ -23,7 +23,7 @@ _atomic_lock(volatile _spinlock_lock_t *lock)
/*
* Dale <drahn@openbsd.org> says:
* Side note. to prevent two processes from accessing
- * the same address with the lwarx in one instrution
+ * the same address with the lwarx in one instruction
* and the stwcx in another process, the current powerpc
* kernel uses a stwcx instruction without the corresponding
* lwarx which causes any reservation of a process