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.
This commit is contained in:
Roland McGrath 1998-12-20 10:23:42 +00:00
parent 973429b40c
commit ea08b5bcb2

View File

@ -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);
}