]> sourceware.org Git - glibc.git/commitdiff
1998-12-20 Roland McGrath <roland@baalperazim.frob.com>
authorRoland McGrath <roland@gnu.org>
Sun, 20 Dec 1998 10:23:42 +0000 (10:23 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 20 Dec 1998 10:23:42 +0000 (10:23 +0000)
* sunrpc/publickey.c (getsecretkey): Use `&errno' instead of
`__errno_location ()'; means the same, works for Hurd.

sunrpc/publickey.c

index 71a11079dd5f197bb7e9f5734bb2fddb68b60485..16664b6714f653bf0fb77f426569774f8a86c034 100644 (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);
     }
This page took 0.043216 seconds and 5 git commands to generate.