summary refs log tree commit diff
path: root/sysdeps/stub/msync.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/msync.c')
-rw-r--r--sysdeps/stub/msync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/stub/msync.c b/sysdeps/stub/msync.c
index a01c474422..21421b73f1 100644
--- a/sysdeps/stub/msync.c
+++ b/sysdeps/stub/msync.c
@@ -27,7 +27,7 @@ Cambridge, MA 02139, USA.  */
 int
 msync (caddr_t addr, size_t len)
 {
-  errno = ENOSYS;
+  __set_errno (ENOSYS);
   return -1;
 }