aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/htl
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-09 22:52:32 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-02-10 01:03:54 +0000
commit1cec114b17ad2d5b019074e3cd419cb331feac7a (patch)
tree0b5d1fcae88cc53e74ba27d60e7e4ba169114fd6 /sysdeps/htl
parent5e77ec7c6e64d67f048caa5d4dd81f10fca3dffc (diff)
downloadglibc-1cec114b17ad2d5b019074e3cd419cb331feac7a.zip
glibc-1cec114b17ad2d5b019074e3cd419cb331feac7a.tar.gz
glibc-1cec114b17ad2d5b019074e3cd419cb331feac7a.tar.bz2
htl: Make sem_open return ENOSYS
instead of EOPNOTSUPP, which is for sockets.
Diffstat (limited to 'sysdeps/htl')
-rw-r--r--sysdeps/htl/sem-open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/htl/sem-open.c b/sysdeps/htl/sem-open.c
index 28483ef..682f0e1 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;
}