This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[hurd,commited 06/10] htl: Make sem_open return ENOSYS
- From: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- To: libc-alpha at sourceware dot org
- Cc: Samuel Thibault <samuel dot thibault at ens-lyon dot org>, commit-hurd at gnu dot org
- Date: Mon, 10 Feb 2020 02:05:04 +0100
- Subject: [hurd,commited 06/10] htl: Make sem_open return ENOSYS
- References: <20200210010508.428251-1-samuel.thibault@ens-lyon.org>
instead of EOPNOTSUPP, which is for sockets.
---
sysdeps/htl/sem-open.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
}
--
2.24.1