aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/pthread_spin_init.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/pthread_spin_init.3 b/man3/pthread_spin_init.3
index e6cf692d70..3018d804a8 100644
--- a/man3/pthread_spin_init.3
+++ b/man3/pthread_spin_init.3
@@ -30,7 +30,7 @@ pthread_spin_init, pthread_spin_destroy \- initialize or destroy a spin lock
.B #include <pthread.h>
.PP
.BI "int pthread_spin_init(pthread_spinlock_t *" lock " int " pshared ");"
-.BI "int pthread_spin_destroy(pthread_spinlock_t *" cock ");"
+.BI "int pthread_spin_destroy(pthread_spinlock_t *" lock ");"
.fi
.PP
Compile and link with \fI\-pthread\fP.