summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authord <d@openbsd.org>1998-12-23 22:45:31 +0000
committerd <d@openbsd.org>1998-12-23 22:45:31 +0000
commit2b58671de25774158c7016f3ec10157e88994226 (patch)
tree0992ac22c8a98057eaa94fcc69a2924e57d68a3d /lib/libpthread
parentfunlockfile shouldnt assume flockfile has been called (diff)
downloadwireguard-openbsd-2b58671de25774158c7016f3ec10157e88994226.tar.xz
wireguard-openbsd-2b58671de25774158c7016f3ec10157e88994226.zip
typo
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/uthread/uthread_mutex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/uthread/uthread_mutex.c b/lib/libpthread/uthread/uthread_mutex.c
index 062c5d7896b..62d43d435e8 100644
--- a/lib/libpthread/uthread/uthread_mutex.c
+++ b/lib/libpthread/uthread/uthread_mutex.c
@@ -247,7 +247,7 @@ pthread_mutex_lock(pthread_mutex_t * mutex)
on attempts to get a lock you already own. */
case PTHREAD_MUTEX_NORMAL:
if ((*mutex)->m_owner == _thread_run) {
- /* Intetionally deadlock */
+ /* Intentionally deadlock: */
for (;;)
_thread_kern_sched_state(PS_MUTEX_WAIT, __FILE__, __LINE__);
}