summaryrefslogtreecommitdiff
path: root/sysdeps/stub/shmctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/shmctl.c')
-rw-r--r--sysdeps/stub/shmctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/stub/shmctl.c b/sysdeps/stub/shmctl.c
index 75a4613166..a3b37076ff 100644
--- a/sysdeps/stub/shmctl.c
+++ b/sysdeps/stub/shmctl.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.
@@ -28,7 +28,7 @@ shmctl (shmid, cmd, buf)
int cmd;
struct shmid_ds *buf;
{
- errno = ENOSYS;
+ __set_errno (ENOSYS);
return -1;
}