diff options
author | David Leonard <d@cvs.openbsd.org> | 1998-12-23 22:45:32 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1998-12-23 22:45:32 +0000 |
commit | 47f050e9c88252e12310c4577d91a2ac835b2505 (patch) | |
tree | 0980665710ac7c24ab4c7b512414334db0755853 | |
parent | 938bca1568f345ca57f6e36836d841fd02065113 (diff) |
typo
-rw-r--r-- | lib/libc_r/uthread/uthread_mutex.c | 2 | ||||
-rw-r--r-- | lib/libpthread/uthread/uthread_mutex.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/uthread_mutex.c b/lib/libc_r/uthread/uthread_mutex.c index 062c5d7896b..62d43d435e8 100644 --- a/lib/libc_r/uthread/uthread_mutex.c +++ b/lib/libc_r/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__); } 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__); } |