]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/stub/msgrcv.c
update from main archive
[thirdparty/glibc.git] / sysdeps / stub / msgrcv.c
index 3d5dfc55235ebd07b3c432bc6a26fd727f60488c..863824946d2e11d47a8a3de032cdaa615fbc481f 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.
 
@@ -34,7 +34,7 @@ msgrcv (msqid, msgp, msgsz, msgtyp, msgflg)
      long msgtyp;
      int msgflg;
 {
-  errno = ENOSYS;
+  __set_errno (ENOSYS);
   return -1;
 }