diff options
author | Roland McGrath <roland@gnu.org> | 2002-09-12 01:38:22 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-09-12 01:38:22 +0000 |
commit | f8494ee354855b4f6ab4a3ba31380c847177cbc0 (patch) | |
tree | 7081c37b362b94a18f355693c51126acccede8a5 /nss/getXXbyYY_r.c | |
parent | 68b68cb3a475ed999d150376c32a30ed97bd6fe9 (diff) | |
download | glibc-f8494ee354855b4f6ab4a3ba31380c847177cbc0.tar.gz glibc-f8494ee354855b4f6ab4a3ba31380c847177cbc0.tar.xz glibc-f8494ee354855b4f6ab4a3ba31380c847177cbc0.zip |
* nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Return errno
instead of always EAGAIN when status is NSS_STATUS_TRYAGAIN.
Diffstat (limited to 'nss/getXXbyYY_r.c')
-rw-r--r-- | nss/getXXbyYY_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/getXXbyYY_r.c b/nss/getXXbyYY_r.c index 630cea4158..58cf29300f 100644 --- a/nss/getXXbyYY_r.c +++ b/nss/getXXbyYY_r.c @@ -243,7 +243,7 @@ done: POSTPROCESS; #endif return (status == NSS_STATUS_SUCCESS - ? 0 : (status == NSS_STATUS_TRYAGAIN ? EAGAIN : ENOENT)); + ? 0 : (status == NSS_STATUS_TRYAGAIN ? errno : ENOENT)); } |