about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 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;
 }