pthread_mutexattr_setprotocol.c: Return EINVAL instead of ENOSYS.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-04-10 23:15:49 +02:00 committed by Xiang Xiao
parent 5eadd8b3a9
commit 3ac2bde85b

View File

@ -69,6 +69,6 @@ int pthread_mutexattr_setprotocol(FAR pthread_mutexattr_t *attr,
return OK;
}
return ENOSYS;
return EINVAL;
#endif
}