[hurd,commited,06/10] htl: Make sem_open return ENOSYS
diff mbox series

Message ID 20200210010508.428251-6-samuel.thibault@ens-lyon.org
State New
Headers show
Series
  • [hurd,commited,01/10] htl: clean __pthread_get_cleanup_stack hidden proto
Related show

Commit Message

Samuel Thibault Feb. 10, 2020, 1:05 a.m. UTC
instead of EOPNOTSUPP, which is for sockets.
---
 sysdeps/htl/sem-open.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

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;
 }