pthread_mutexattr_setprotocol.c: Return EINVAL instead of ENOSYS.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
5eadd8b3a9
commit
3ac2bde85b
@ -69,6 +69,6 @@ int pthread_mutexattr_setprotocol(FAR pthread_mutexattr_t *attr,
|
|||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ENOSYS;
|
return EINVAL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user