summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/posix/src/pthread.c1
-rw-r--r--cpukit/posix/src/pthread.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/pthread.c b/c/src/exec/posix/src/pthread.c
index 3741c09a15..0f508af5a5 100644
--- a/c/src/exec/posix/src/pthread.c
+++ b/c/src/exec/posix/src/pthread.c
@@ -363,6 +363,7 @@ int pthread_attr_setscope(
return 0;
case PTHREAD_SCOPE_SYSTEM:
+/* XXX needs to be ENOTSUP */
return ENOSYS;
default:
diff --git a/cpukit/posix/src/pthread.c b/cpukit/posix/src/pthread.c
index 3741c09a15..0f508af5a5 100644
--- a/cpukit/posix/src/pthread.c
+++ b/cpukit/posix/src/pthread.c
@@ -363,6 +363,7 @@ int pthread_attr_setscope(
return 0;
case PTHREAD_SCOPE_SYSTEM:
+/* XXX needs to be ENOTSUP */
return ENOSYS;
default: