diff options
| author | Maxim Konovalov <maxim@FreeBSD.org> | 2002-02-14 15:20:36 +0000 |
|---|---|---|
| committer | Maxim Konovalov <maxim@FreeBSD.org> | 2002-02-14 15:20:36 +0000 |
| commit | 0878d2e5e9053584a4df38d5ad6b58c9385fafeb (patch) | |
| tree | 58921148d337fe1069a9abd7f84524fe137a922c /lib/libpthread/thread/thr_attr_setscope.c | |
| parent | 7a6051e857bb3598b94dfc3f8c44e2d0e2f83493 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_attr_setscope.c')
| -rw-r--r-- | lib/libpthread/thread/thr_attr_setscope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_attr_setscope.c b/lib/libpthread/thread/thr_attr_setscope.c index 967cb3919a37..3614615a3c01 100644 --- a/lib/libpthread/thread/thr_attr_setscope.c +++ b/lib/libpthread/thread/thr_attr_setscope.c @@ -46,7 +46,7 @@ _pthread_attr_setscope(pthread_attr_t *attr, int contentionscope) /* Return an invalid argument: */ ret = EINVAL; } else if ((contentionscope != PTHREAD_SCOPE_PROCESS) || - (contentionscope != PTHREAD_SCOPE_SYSTEM)) { + (contentionscope == PTHREAD_SCOPE_SYSTEM)) { /* We don't support PTHREAD_SCOPE_SYSTEM. */ ret = ENOTSUP; } else |
