diff options
-rw-r--r-- | sunrpc/publickey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/publickey.c b/sunrpc/publickey.c index 71a11079dd..16664b6714 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); } |