summaryrefslogtreecommitdiff
path: root/lib/libpthread/arch
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>2001-03-13 00:05:52 +0000
committerDavid Leonard <d@cvs.openbsd.org>2001-03-13 00:05:52 +0000
commit664bffe1ca118f507d35ebdb2bab38458f67c17b (patch)
treea1c3a887cbce3053aedb12c87423294c95004ed4 /lib/libpthread/arch
parentc2d0ebc143a5c476bc4719c169faefed86945f33 (diff)
typo in comment
Diffstat (limited to 'lib/libpthread/arch')
-rw-r--r--lib/libpthread/arch/i386/_atomic_lock.c4
-rw-r--r--lib/libpthread/arch/i386/uthread_machdep.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/arch/i386/_atomic_lock.c b/lib/libpthread/arch/i386/_atomic_lock.c
index f2aab7d11cc..87d3d62ce4c 100644
--- a/lib/libpthread/arch/i386/_atomic_lock.c
+++ b/lib/libpthread/arch/i386/_atomic_lock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: _atomic_lock.c,v 1.5 2000/10/03 02:58:58 d Exp $ */
+/* $OpenBSD: _atomic_lock.c,v 1.6 2001/03/13 00:05:51 d Exp $ */
/* David Leonard, <d@csee.uq.edu.au>. Public domain. */
/*
@@ -14,7 +14,7 @@ _atomic_lock(volatile _spinlock_lock_t *lock)
/*
* Use the eXCHanGe instruction to swap the lock value with
- * a local variable containg the locked state.
+ * a local variable containing the locked state.
*/
old = _SPINLOCK_LOCKED;
__asm__("xchg %0,%1"
diff --git a/lib/libpthread/arch/i386/uthread_machdep.c b/lib/libpthread/arch/i386/uthread_machdep.c
index 6535e2f73d8..2b0847b3804 100644
--- a/lib/libpthread/arch/i386/uthread_machdep.c
+++ b/lib/libpthread/arch/i386/uthread_machdep.c
@@ -1,8 +1,8 @@
-/* $OpenBSD: uthread_machdep.c,v 1.1 2000/09/25 01:16:40 d Exp $ */
+/* $OpenBSD: uthread_machdep.c,v 1.2 2001/03/13 00:05:51 d Exp $ */
/* David Leonard, <d@csee.uq.edu.au>. Public domain. */
/*
- * Machine-dependent thread state functions for OpenBSD/sparc.
+ * Machine-dependent thread state functions for OpenBSD/i386.
*/
#include <machine/param.h>