summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/arch
diff options
context:
space:
mode:
authord <d@openbsd.org>2001-03-13 00:05:51 +0000
committerd <d@openbsd.org>2001-03-13 00:05:51 +0000
commit40e93c45e0c1b099d9adbae03f3cc51ec2c7e593 (patch)
tree97572c0d63d5beeffc382ff47e5abac2e27de7d7 /lib/libpthread/arch
parentrecursive mutex test (diff)
downloadwireguard-openbsd-40e93c45e0c1b099d9adbae03f3cc51ec2c7e593.tar.xz
wireguard-openbsd-40e93c45e0c1b099d9adbae03f3cc51ec2c7e593.zip
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>