Browse Source

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.
cvs/glibc-2-1-branch
Roland McGrath 28 years ago
parent
commit
ea08b5bcb2
  1. 2
      sunrpc/publickey.c

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

Loading…
Cancel
Save