projects
/
kopensolaris-gnu
/
glibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
.
[kopensolaris-gnu/glibc.git]
/
nscd
/
nscd_gethst_r.c
diff --git
a/nscd/nscd_gethst_r.c
b/nscd/nscd_gethst_r.c
index
46f1611
..
961f695
100644
(file)
--- a/
nscd/nscd_gethst_r.c
+++ b/
nscd/nscd_gethst_r.c
@@
-299,6
+299,8
@@
nscd_gethst_r (const char *key, size_t keylen, request_type type,
*h_errnop = hst_resp.error;
__close (sock);
+ /* The `errno' to some value != ERANGE. */
+ __set_errno (ENOENT);
return -1;
}
}