aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/publickey.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-12-20 10:23:42 +0000
committerRoland McGrath <roland@gnu.org>1998-12-20 10:23:42 +0000
commitea08b5bcb2d9dc9593b8576ffb7406cfb0480c3e (patch)
tree6798c10bbe323958394a1bfbe97f888feb33349c /sunrpc/publickey.c
parent973429b40c95f1edfc3a785866adcff95574f217 (diff)
downloadglibc-ea08b5bcb2d9dc9593b8576ffb7406cfb0480c3e.zip
glibc-ea08b5bcb2d9dc9593b8576ffb7406cfb0480c3e.tar.gz
glibc-ea08b5bcb2d9dc9593b8576ffb7406cfb0480c3e.tar.bz2
1998-12-20 Roland McGrath <roland@baalperazim.frob.com>
* sunrpc/publickey.c (getsecretkey): Use `&errno' instead of `__errno_location ()'; means the same, works for Hurd.
Diffstat (limited to 'sunrpc/publickey.c')
-rw-r--r--sunrpc/publickey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/publickey.c b/sunrpc/publickey.c
index 71a1107..16664b6 100644
--- a/sunrpc/publickey.c
+++ b/sunrpc/publickey.c
@@ -102,7 +102,7 @@ getsecretkey (const char *name, char *key, const char *passwd)
while (! no_more)
{
- status = (*fct) (name, key, passwd, __errno_location ());
+ status = (*fct) (name, key, passwd, &errno);
no_more = __nss_next (&nip, "getsecretkey", (void **) &fct, status, 0);
}