aboutsummaryrefslogtreecommitdiff
path: root/nss/getXXbyYY_r.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-09-12 05:16:00 +0000
committerRoland McGrath <roland@gnu.org>2002-09-12 05:16:00 +0000
commitfb848e15854db60732536c0767ad529b6206311c (patch)
treeb67647e047a4d8a70103ebb5513eae8a7fc9a53e /nss/getXXbyYY_r.c
parent9bfce4bf2865c2981a8d790ae7f6c50c4e87dd97 (diff)
downloadglibc-fb848e15854db60732536c0767ad529b6206311c.zip
glibc-fb848e15854db60732536c0767ad529b6206311c.tar.gz
glibc-fb848e15854db60732536c0767ad529b6206311c.tar.bz2
* elf/dl-load.c (_dl_map_object_from_fd): Use l_addr instead of
l_map_start to adjust l_tls_initimage.
Diffstat (limited to 'nss/getXXbyYY_r.c')
-rw-r--r--nss/getXXbyYY_r.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nss/getXXbyYY_r.c b/nss/getXXbyYY_r.c
index 0208480..ca81cf4 100644
--- a/nss/getXXbyYY_r.c
+++ b/nss/getXXbyYY_r.c
@@ -242,8 +242,6 @@ done:
#ifdef POSTPROCESS
POSTPROCESS;
#endif
- return (status == NSS_STATUS_SUCCESS
- ? 0 : (status == NSS_STATUS_TRYAGAIN ? errno : ENOENT));
return (status == NSS_STATUS_SUCCESS ? 0
: status != NSS_STATUS_TRYAGAIN ? ENOENT
#ifdef NEED_H_ERRNO