diff options
Diffstat (limited to 'sysdeps/stub/madvise.c')
-rw-r--r-- | sysdeps/stub/madvise.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/stub/madvise.c b/sysdeps/stub/madvise.c index e3dbacdfe3..dbe2c7cb38 100644 --- a/sysdeps/stub/madvise.c +++ b/sysdeps/stub/madvise.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994, 1995 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -26,7 +26,7 @@ Cambridge, MA 02139, USA. */ int madvise (caddr_t addr, size_t len, int advice) { - errno = ENOSYS; + __set_errno (ENOSYS); return -1; } |