use bss instead of mmap for main thread's pthread thread-specific data
[oweals/musl.git] / src / thread / pthread_attr_setscope.c
index a970a819b52d38472ae3e13b60a46a6d1251b761..d56ee391a1dd77aad23c83805856d3018af957ec 100644 (file)
@@ -2,5 +2,6 @@
 
 int pthread_attr_setscope(pthread_attr_t *a, int scope)
 {
+       if (scope > 1U) return EINVAL;
        return 0;
 }