mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
pthread_mutexattr_setprotocol.c: Return EINVAL instead of ENOSYS.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
5eadd8b3a9
commit
3ac2bde85b
@@ -69,6 +69,6 @@ int pthread_mutexattr_setprotocol(FAR pthread_mutexattr_t *attr,
|
||||
return OK;
|
||||
}
|
||||
|
||||
return ENOSYS;
|
||||
return EINVAL;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user