summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-02-06 17:03:18 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-02-06 17:03:18 +0000
commit767fecd093f3ad819d9de8df79cdc789a77a77e7 (patch)
tree1d618b0d128369e507c9adf38d36e032b2b3f31e /lib
parenteedd15d88a0f2e19fb76f632f1ca1f9d821f31b7 (diff)
typos from alexey dobriyan;
Diffstat (limited to 'lib')
-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