(__fgetgrent_r): Use &errno instead of __errno_location ().
authordrepper <drepper>
Tue, 2 Jun 1998 12:28:22 +0000 (12:28 +0000)
committerdrepper <drepper>
Tue, 2 Jun 1998 12:28:22 +0000 (12:28 +0000)
grp/fgetgrent_r.c

index 9ac9dc1..de11326 100644 (file)
@@ -82,7 +82,7 @@ __fgetgrent_r (FILE *stream, struct group *resbuf, char *buffer, size_t buflen,
                get the next line of the file to parse.  */
             || ! (parse_result = parse_line (p, resbuf,
                                              (void *) buffer, buflen,
-                                             __errno_location ())));
+                                             &errno)));
 
   if (parse_result == -1)
     {