diff options
| -rw-r--r-- | src/thread/pthread_attr_get.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_attr_get.c b/src/thread/pthread_attr_get.c index 4aa5afdb..f12ff442 100644 --- a/src/thread/pthread_attr_get.c +++ b/src/thread/pthread_attr_get.c @@ -70,7 +70,7 @@ int pthread_condattr_getpshared(const pthread_condattr_t *restrict a, int *restr  int pthread_mutexattr_getprotocol(const pthread_mutexattr_t *restrict a, int *restrict protocol)  { -	*protocol = PTHREAD_PRIO_NONE; +	*protocol = a->__attr / 8U % 2;  	return 0;  }  int pthread_mutexattr_getpshared(const pthread_mutexattr_t *restrict a, int *restrict pshared)  | 
