summaryrefslogtreecommitdiff
path: root/src/thread/pthread_attr_getscope.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_attr_getscope.c')
-rw-r--r--src/thread/pthread_attr_getscope.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread/pthread_attr_getscope.c b/src/thread/pthread_attr_getscope.c
index c0167b6a..b8dfd123 100644
--- a/src/thread/pthread_attr_getscope.c
+++ b/src/thread/pthread_attr_getscope.c
@@ -2,5 +2,6 @@
int pthread_attr_getscope(const pthread_attr_t *restrict a, int *restrict scope)
{
+ *scope = PTHREAD_SCOPE_SYSTEM;
return 0;
}