htl: Make sem_open return ENOSYS

instead of EOPNOTSUPP, which is for sockets.
This commit is contained in:
Samuel Thibault 2020-02-09 22:52:32 +00:00
parent 5e77ec7c6e
commit 1cec114b17

View File

@ -24,7 +24,7 @@
sem_t *
__sem_open (const char *name, int open_flags, ...)
{
errno = EOPNOTSUPP;
errno = ENOSYS;
return SEM_FAILED;
}