aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}