mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
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:
parent
973429b40c
commit
ea08b5bcb2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user