aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/msgctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/msgctl.c')
-rw-r--r--sysdeps/stub/msgctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/stub/msgctl.c b/sysdeps/stub/msgctl.c
index 8212f096c1..5c2eea700e 100644
--- a/sysdeps/stub/msgctl.c
+++ b/sysdeps/stub/msgctl.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.
@@ -29,7 +29,7 @@ msgctl (msqid, cmd, buf)
int cmd;
struct msqid_ds *buf;
{
- errno = ENOSYS;
+ __set_errno (ENOSYS);
return -1;
}