From ea08b5bcb2d9dc9593b8576ffb7406cfb0480c3e Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 20 Dec 1998 10:23:42 +0000 Subject: 1998-12-20 Roland McGrath * sunrpc/publickey.c (getsecretkey): Use `&errno' instead of `__errno_location ()'; means the same, works for Hurd. --- sunrpc/publickey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sunrpc') 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); } -- cgit 1.4.1