remove some stray trailing space characters
[musl] / src / thread / pthread_spin_lock.c
index 9e43f47..0ab3d64 100644 (file)
@@ -2,6 +2,6 @@
 
 int pthread_spin_lock(pthread_spinlock_t *s)
 {
-       while (*s || a_xchg(s, 1));
+       while (a_xchg(s, 1)) a_spin();
        return 0;
 }