summaryrefslogtreecommitdiff
path: root/spin.c
diff options
context:
space:
mode:
Diffstat (limited to 'spin.c')
-rw-r--r--spin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/spin.c b/spin.c
index 09c5031..070e3ff 100644
--- a/spin.c
+++ b/spin.c
@@ -110,6 +110,7 @@ pthread_spin_init(pthread_spinlock_t *lock, int pshared)
#endif /* _POSIX_THREAD_PROCESS_SHARED */
}
+ }
s = (pthread_spinlock_t) calloc(1, sizeof(*s));