aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/shmat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/shmat.c')
-rw-r--r--sysdeps/stub/shmat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/stub/shmat.c b/sysdeps/stub/shmat.c
index 099f227..9d5629b 100644
--- a/sysdeps/stub/shmat.c
+++ b/sysdeps/stub/shmat.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 @@ shmat (shmid, shmaddr, shmflg)
char *shmaddr;
int shmflg;
{
- errno = ENOSYS;
+ __set_errno (ENOSYS);
return (char *) -1;
}