]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/stub/msgget.c
update from main archive
[thirdparty/glibc.git] / sysdeps / stub / msgget.c
index 3ee2b3dacdd1ff70ee16f3b1e6d7da98c86ad543..343c6d8a8bc690812e9c1651d8cce6ef92bfb194 100644 (file)
@@ -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 @@ msgget (key, msgflg)
      key_t key;
      int msgflg;
 {
-  errno = ENOSYS;
+  __set_errno (ENOSYS);
   return -1;
 }