summaryrefslogtreecommitdiff
path: root/src/thread/pthread_attr_setscope.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_attr_setscope.c')
-rw-r--r--src/thread/pthread_attr_setscope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_attr_setscope.c b/src/thread/pthread_attr_setscope.c
index 46b520c0..933bdb38 100644
--- a/src/thread/pthread_attr_setscope.c
+++ b/src/thread/pthread_attr_setscope.c
@@ -8,6 +8,6 @@ int pthread_attr_setscope(pthread_attr_t *a, int scope)
case PTHREAD_SCOPE_PROCESS:
return ENOTSUP;
default:
- return EINVAL;
+ return ENOTSUP;
}
}