aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/semctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/semctl.c')
-rw-r--r--sysdeps/stub/semctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/stub/semctl.c b/sysdeps/stub/semctl.c
index 8f2fe99400..cf44af8456 100644
--- a/sysdeps/stub/semctl.c
+++ b/sysdeps/stub/semctl.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, August 1995.
@@ -30,7 +30,7 @@ semctl (semid, semnum, cmd, arg)
int cmd;
union semun arg;
{
- errno = ENOSYS;
+ __set_errno (ENOSYS);
return -1;
}