diff options
Diffstat (limited to 'src/thread/pthread_attr_setscope.c')
-rw-r--r-- | src/thread/pthread_attr_setscope.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread/pthread_attr_setscope.c b/src/thread/pthread_attr_setscope.c index a970a819..d56ee391 100644 --- a/src/thread/pthread_attr_setscope.c +++ b/src/thread/pthread_attr_setscope.c @@ -2,5 +2,6 @@ int pthread_attr_setscope(pthread_attr_t *a, int scope) { + if (scope > 1U) return EINVAL; return 0; } |