summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/dl-sysdep.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2017-12-15 17:00:50 +0100
committerThomas Schwinge <thomas@schwinge.name>2017-12-15 18:02:56 +0100
commitd232f2e137127139addde487f0f01881b52cc446 (patch)
tree98418dabe6f6cefab74d9a9b6e9fc89fb421774e /sysdeps/mach/hurd/dl-sysdep.c
parent5170fa49b2a926f2a53139c607eb249c82a0fdd9 (diff)
Don't set errno in Hurd rtld's __access_noerrno
* sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set errno. Fixes commit 819ea3347e3a30a611488ceeec53650baaeb7961. Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'sysdeps/mach/hurd/dl-sysdep.c')
-rw-r--r--sysdeps/mach/hurd/dl-sysdep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c
index 2cc342ec8e..5121ce325c 100644
--- a/sysdeps/mach/hurd/dl-sysdep.c
+++ b/sysdeps/mach/hurd/dl-sysdep.c
@@ -575,7 +575,6 @@ check_no_hidden(__access_noerrno);
int weak_function
__access_noerrno (const char *file, int type)
{
- errno = ENOSYS;
return -1;
}