diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-02-09 22:52:32 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-02-10 01:03:54 +0000 |
commit | 1cec114b17ad2d5b019074e3cd419cb331feac7a (patch) | |
tree | 0b5d1fcae88cc53e74ba27d60e7e4ba169114fd6 | |
parent | 5e77ec7c6e64d67f048caa5d4dd81f10fca3dffc (diff) | |
download | glibc-1cec114b17ad2d5b019074e3cd419cb331feac7a.tar.gz glibc-1cec114b17ad2d5b019074e3cd419cb331feac7a.tar.xz glibc-1cec114b17ad2d5b019074e3cd419cb331feac7a.zip |
htl: Make sem_open return ENOSYS
instead of EOPNOTSUPP, which is for sockets.
-rw-r--r-- | sysdeps/htl/sem-open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/sem-open.c b/sysdeps/htl/sem-open.c index 28483ef6a5..682f0e1a88 100644 --- a/sysdeps/htl/sem-open.c +++ b/sysdeps/htl/sem-open.c @@ -24,7 +24,7 @@ sem_t * __sem_open (const char *name, int open_flags, ...) { - errno = EOPNOTSUPP; + errno = ENOSYS; return SEM_FAILED; } |